-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl-7.63.0 not sending POST body when using --negotiate #3384
Comments
Does it work if you use |
Using |
But surely using |
Do you know the last version in which it worked? |
@bagder: Yes, I do see a non-zero I'm on Linux, and 7.62.0 works. |
Can confirm with @gavinhungry , works in 7.62.0 on Arch Linux and the brew version of curl on macOS. Both of them break in 7.63.0. |
There's only a single change done to lib/http_negotiate.c since 7.62.0 and that's 07ebaf8, but it seems innocuous enough... Would you be able to bisect your way to spot/verify the exact change that broke this functionality? See https://github.com/curl/curl/wiki/how-to-git-bisect on how to do it. |
I bisected
|
Sigh, I just have been hit by this on FreeBSD. 7.62.0 is working:
and now broken in 7.63.0:
I bisected down to:
@bagder @kdudka |
@bagder thanks, looking forward to 7.64.0. |
I did this
We use kerberos (GSSAPI/SPNEGO) for authenticating against web services. It seems something broke in 7.63.0, where POST bodies are not being transmitted when
--negotiate
is being used.Example command use:
When I checked the trace.log, I saw:
Notice
Content-Length: 0
and No Body.I expected the following
I expected to see the body transmitted, with a computed
Content-Length
header.For example, the same command ran in curl-7.54.0 yields:
curl/libcurl version
[curl -V output]
operating system
Occurrect on both Linux and Mac
The text was updated successfully, but these errors were encountered: