aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-01-04 23:34:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-01-07 09:36:36 +0100
commitebe658c1e5a6577178981a7f406794699305be5c (patch)
tree0e291deac937b024cc7431dcd75beeea77fb6082 /lib/http.c
parentef384c68ae22b35cf4976227d1cfcbbc3af79c88 (diff)
downloadgnurl-ebe658c1e5a6577178981a7f406794699305be5c.tar.gz
gnurl-ebe658c1e5a6577178981a7f406794699305be5c.tar.bz2
gnurl-ebe658c1e5a6577178981a7f406794699305be5c.zip
Revert "http_negotiate: do not close connection until negotiation is completed"
This reverts commit 07ebaf837843124ee670e5b8c218b80b92e06e47. This also reopens PR #3275 which brought the change now reverted. Fixes #3384 Closes #3439
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 8866fdf0a..303535af6 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -616,6 +616,7 @@ output_auth_headers(struct connectdata *conn,
result = Curl_output_negotiate(conn, proxy);
if(result)
return result;
+ authstatus->done = TRUE;
negdata->state = GSS_AUTHSENT;
}
else