projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0718b7e
)
GSS: handle reuse fix
author
Marcus Sundberg
<marcus.sundberg@aptilo.com>
Sat, 12 Mar 2011 23:21:07 +0000
(
00:21
+0100)
committer
Daniel Stenberg
<daniel@haxx.se>
Sat, 12 Mar 2011 23:21:07 +0000
(
00:21
+0100)
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>
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
807bbeb
..
419efc1
100644
(file)
--- a/
lib/http.c
+++ b/
lib/http.c
@@
-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";