From 29102befa66e009c668d6a51cc41051a273d4703 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Jan 2005 14:00:45 +0000 Subject: 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 --- lib/transfer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transfer.h') 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, -- cgit v1.2.1