dav/main.c

changeset 154
3cfb4670d9e6
parent 152
ff854d3df20c
child 165
b66bed169fc3
--- a/dav/main.c	Thu Oct 08 14:25:53 2015 +0200
+++ b/dav/main.c	Mon Oct 12 14:36:16 2015 +0200
@@ -344,6 +344,7 @@
     DavSession *sn = dav_session_new_auth(ctx, repo->url, repo->user, repo->password);
     sn->flags = get_repository_flags(repo);
     sn->key = dav_context_get_key(ctx, repo->default_key);
+    curl_easy_setopt(sn->handle, CURLOPT_HTTPAUTH, repo->authmethods);
     curl_easy_setopt(sn->handle, CURLOPT_SSLVERSION, repo->ssl_version);
     return sn;
 }

mercurial