mirror of
https://github.com/curl/curl.git
synced 2026-08-01 12:28:03 +03:00
http_negotiate: Move the Negotiate state out of the negotiatedata structure
Given that this member variable is not used by the SASL based protocols there is no need to have it here. Closes #3882
This commit is contained in:
parent
85bef18ca1
commit
e832d1ef74
6 changed files with 37 additions and 30 deletions
|
|
@ -592,8 +592,8 @@ static CURLcode multi_done(struct Curl_easy *data,
|
|||
conn->proxy_ntlm_state == NTLMSTATE_TYPE2)
|
||||
#endif
|
||||
#if defined(USE_SPNEGO)
|
||||
&& !(conn->negotiate.state == GSS_AUTHRECV ||
|
||||
conn->proxyneg.state == GSS_AUTHRECV)
|
||||
&& !(conn->http_negotiate_state == GSS_AUTHRECV ||
|
||||
conn->proxy_negotiate_state == GSS_AUTHRECV)
|
||||
#endif
|
||||
) || conn->bits.close
|
||||
|| (premature && !(conn->handler->flags & PROTOPT_STREAM))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue