aboutsummaryrefslogtreecommitdiff
path: root/src/writeenv.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-06-05 06:18:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-06-05 06:18:42 +0000
commit1012c5705aedc6730244c22cd9d2bcb3c5c13212 (patch)
tree9aae1daea0f396600c3ad2f123817f77cdd08f2b /src/writeenv.h
parent1c2947581b8694b3e8ab447c5c7c2c9dbb43bf8b (diff)
- Setting the Content-Length: header from your app when you do a POST or PUT
is almost always a VERY BAD IDEA. Yet there are still apps out there doing this, and now recently it triggered a bug/side-effect in libcurl as when libcurl sends a POST or PUT with NTLM, it sends an empty post first when it knows it will just get a 401/407 back. If the app then replaced the Content-Length header, it caused the server to wait for input that libcurl wouldn't send. Aaron Oneal reported this problem in bug report #2799008 http://curl.haxx.se/bug/view.cgi?id=2799008) and helped us verify the fix.
Diffstat (limited to 'src/writeenv.h')
0 files changed, 0 insertions, 0 deletions