aboutsummaryrefslogtreecommitdiff
path: root/lib/vauth/spnego_sspi.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2018-12-06 17:26:13 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-12-07 13:03:21 +0100
commitcbea2fd2c74feabeb6f13b3e3df243b225b3b3ab (patch)
tree366fd339ba8838c81584ab4589b1c74a6d7413ed /lib/vauth/spnego_sspi.c
parent2456152069a8f471c63fb2de07322bdd0c29e533 (diff)
NTLM: force the connection to HTTP/1.1
Since v7.62.0, cURL tries to use HTTP/2 whenever the server announces the capability. However, NTLM authentication only works with HTTP/1.1, and will likely remain in that boat (for details, see https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-10/http2-on-iis#when-is-http2-not-supported). When we just found out that we want to use NTLM, and when the current connection runs in HTTP/2 mode, let's force the connection to be closed and to be re-opened using HTTP/1.1. Fixes https://github.com/curl/curl/issues/3341. Closes #3345 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vauth/spnego_sspi.c')
0 files changed, 0 insertions, 0 deletions