diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-09-10 20:58:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-09-10 20:58:51 +0000 |
commit | b8b56248bddc646bf8d262dc9c5b45ce68a1ef08 (patch) | |
tree | 582ff2a2e1bded2a6750c18b3dd8c45dc060f293 /CHANGES | |
parent | 33929117f9ffff56f978a75233326969b803659a (diff) |
- Bug report #1025986. When following a Location: with a custom Host: header
replacement, curl only replaced the Host: header on the initial request
and didn't replace it on the following ones. This resulted in requests with
two Host: headers.
Now, curl checks if the location is on the same host as the initial request
and then continues to replace the Host: header. And when it moves to another
host, it doesn't replace the Host: header but it also doesn't make the
second Host: header get used in the request.
This change is verified by the two new test cases 184 and 185.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -6,6 +6,19 @@ Changelog +Daniel (10 September 2004) +- Bug report #1025986. When following a Location: with a custom Host: header + replacement, curl only replaced the Host: header on the initial request + and didn't replace it on the following ones. This resulted in requests with + two Host: headers. + + Now, curl checks if the location is on the same host as the initial request + and then continues to replace the Host: header. And when it moves to another + host, it doesn't replace the Host: header but it also doesn't make the + second Host: header get used in the request. + + This change is verified by the two new test cases 184 and 185. + Daniel (31 August 2004) - David Tarendash fount out that curl_multi_add_handle() returned CURLM_CALL_MULTI_PERFORM instead of CURLM_OK. |