remove incorrect comment
resourcePrepare does not cause the resource to only be prepared once. The http manager should be reused, which does avoid http connection overhead, but not because of the use of resourcePrepare.
This commit is contained in:
parent
809cfbbd8a
commit
5d394023eb
1 changed files with 0 additions and 2 deletions
|
@ -120,8 +120,6 @@ webdavSetup _ mu mcreds c gc = do
|
|||
c'' <- setRemoteCredPair encsetup c' gc (davCreds u) creds
|
||||
return (c'', u)
|
||||
|
||||
-- Opens a http connection to the DAV server, which will be reused
|
||||
-- each time the helper is called.
|
||||
prepareDAV :: Remote -> (Maybe DavHandle -> helper) -> Preparer helper
|
||||
prepareDAV = resourcePrepare . const . withDAVHandle
|
||||
|
||||
|
|
Loading…
Reference in a new issue