diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-11 14:00:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-11 14:00:45 +0000 |
commit | 29102befa66e009c668d6a51cc41051a273d4703 (patch) | |
tree | dca83edda366c442b09a414fa9d0dacbb711f840 /lib/transfer.h | |
parent | 9d1145598abf9fddae2e88cca9e114c12a1b7d9d (diff) | |
download | curl-29102befa66e009c668d6a51cc41051a273d4703.tar.gz |
Cyrill Osterwalder posted a detailed analysis about a bug that occurs when
using a custom Host: header and curl fails to send a request on a re-used
persistent connection and thus creates a new connection and resends it. It
then sent two Host: headers. Cyrill's analysis was posted here:
http://curl.haxx.se/mail/archive-2005-01/0022.html
Diffstat (limited to 'lib/transfer.h')
-rw-r--r-- | lib/transfer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.h b/lib/transfer.h index 78a3e046b..86301d60a 100644 --- a/lib/transfer.h +++ b/lib/transfer.h @@ -26,7 +26,7 @@ CURLcode Curl_perform(struct SessionHandle *data); CURLcode Curl_pretransfer(struct SessionHandle *data); CURLcode Curl_pretransfersec(struct connectdata *conn); CURLcode Curl_posttransfer(struct SessionHandle *data); -CURLcode Curl_follow(struct SessionHandle *data, char *newurl); +CURLcode Curl_follow(struct SessionHandle *data, char *newurl, bool retry); CURLcode Curl_readwrite(struct connectdata *conn, bool *done); void Curl_single_fdset(struct connectdata *conn, fd_set *read_fd_set, |