mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
GSS: handle reuse fix
Make GSS authentication work when a curl handle is reused for multiple authenticated requests, by always setting negdata->state in output_auth_headers(). Signed-off-by: Marcus Sundberg <marcus.sundberg@aptilo.com>
This commit is contained in:
parent
0718b7e31e
commit
6f0ee717c3
@ -531,6 +531,7 @@ output_auth_headers(struct connectdata *conn,
|
||||
#endif
|
||||
|
||||
#ifdef USE_HTTP_NEGOTIATE
|
||||
negdata->state = GSS_AUTHNONE;
|
||||
if((authstatus->picked == CURLAUTH_GSSNEGOTIATE) &&
|
||||
negdata->context && !GSS_ERROR(negdata->status)) {
|
||||
auth="GSS-Negotiate";
|
||||
|
Loading…
Reference in New Issue
Block a user