Skip to content

Commit

Permalink
ConnectionExists: for NTLM re-use, require credentials to match
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Apr 21, 2015
1 parent 6088fbc commit 31be461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/url.c
Expand Up @@ -3209,7 +3209,7 @@ ConnectionExists(struct SessionHandle *data,
}

if((!(needle->handler->flags & PROTOPT_CREDSPERREQUEST)) ||
wantNTLMhttp) {
(wantNTLMhttp || check->ntlm.state != NTLMSTATE_NONE)) {
/* This protocol requires credentials per connection or is HTTP+NTLM,
so verify that we're using the same name and password as well */
if(!strequal(needle->user, check->user) ||
Expand Down

0 comments on commit 31be461

Please sign in to comment.