diff options
author | Isaac Boukris <iboukris@gmail.com> | 2015-09-16 03:52:36 +0300 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-09-19 23:21:05 +0200 |
commit | f65e07ca5930a27a54fe96e99e838f6c85c5356b (patch) | |
tree | 678f01182b9b41be9c208422ce4143148c9c79b5 /lib | |
parent | 30c131f51f605d35e5d90f4be1727045fef17351 (diff) |
NTLM: Reset auth-done when using a fresh connection
With NTLM a new connection will always require authentication.
Fixes #435
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5839,12 +5839,14 @@ static CURLcode create_conn(struct SessionHandle *data, data->state.authhost.done) { infof(data, "NTLM picked AND auth done set, clear picked!\n"); data->state.authhost.picked = CURLAUTH_NONE; + data->state.authhost.done = FALSE; } if((data->state.authproxy.picked & (CURLAUTH_NTLM | CURLAUTH_NTLM_WB)) && data->state.authproxy.done) { infof(data, "NTLM-proxy picked AND auth done set, clear picked!\n"); data->state.authproxy.picked = CURLAUTH_NONE; + data->state.authproxy.done = FALSE; } #endif } |