1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 22:45:03 -05:00
curl/lib/vauth
Dominik Hölzl 6c60355323
Negotiate: fix for HTTP POST with Negotiate
* Adjusted unit tests 2056, 2057
* do not generally close connections with CURLAUTH_NEGOTIATE after every request
* moved negotiatedata from UrlState to connectdata
* Added stream rewind logic for CURLAUTH_NEGOTIATE
* introduced negotiatedata::GSS_AUTHDONE and negotiatedata::GSS_AUTHSUCC
* Consider authproblem state for CURLAUTH_NEGOTIATE
* Consider reuse_forbid for CURLAUTH_NEGOTIATE
* moved and adjusted negotiate authentication state handling from
  output_auth_headers into Curl_output_negotiate
* Curl_output_negotiate: ensure auth done is always set
* Curl_output_negotiate: Set auth done also if result code is
  GSS_S_CONTINUE_NEEDED/SEC_I_CONTINUE_NEEDED as this result code may
  also indicate the last challenge request (only works with disabled
  Expect: 100-continue and CURLOPT_KEEP_SENDING_ON_ERROR -> 1)
* Consider "Persistent-Auth" header, detect if not present;
  Reset/Cleanup negotiate after authentication if no persistent
  authentication
* apply changes introduced with #2546 for negotiate rewind logic

Fixes #1261
Closes #1975
2019-03-14 09:26:03 +01:00
..
cleartext.c Curl_auth_create_plain_message: fix too-large-input-check 2018-10-29 08:05:23 +01:00
cram.c comment: Fix multiple typos in function parameters 2018-10-03 10:27:27 +02:00
digest_sspi.c urldata: rename easy_conn to just conn 2019-01-11 15:35:13 +01:00
digest.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
digest.h auth: add support for RFC7616 - HTTP Digest access authentication 2017-10-28 16:32:43 +02:00
krb5_gssapi.c comment: Fix multiple typos in function parameters 2018-10-03 10:27:27 +02:00
krb5_sspi.c comment: Fix multiple typos in function parameters 2018-10-03 10:27:27 +02:00
ntlm_sspi.c ntlm_sspi: add support for channel binding 2019-01-19 13:00:53 +01:00
ntlm.c ntlm: fix *_type3_message size check to avoid buffer overflow 2019-02-04 08:22:32 +01:00
ntlm.h vauth/ntlm.h: fix the #ifdef header guard 2018-03-20 15:00:09 +01:00
oauth2.c internals: rename the SessionHandle struct to Curl_easy 2016-06-22 10:28:41 +02:00
spnego_gssapi.c Negotiate: fix for HTTP POST with Negotiate 2019-03-14 09:26:03 +01:00
spnego_sspi.c Negotiate: fix for HTTP POST with Negotiate 2019-03-14 09:26:03 +01:00
vauth.c vauth: Fix typo 2018-04-15 03:25:48 -04:00
vauth.h ntlm_sspi: fix authentication using Credential Manager 2018-04-16 20:43:21 +02:00