aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-23 23:29:23 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-23 23:30:39 +0100
commit4b351d018e3d6691191fd653a17f14f4a31e0b4c (patch)
tree90584ab3b7230b3cd66eb656633c0ea387c05ef0
parente32fe30d0cf7c1f7045ac0bd29322e7fb4feb5c8 (diff)
mark connection as connected
Kenny To filed the bug report #2963679 with patch to fix a problem he experienced with doing multi interface HTTP POST over a proxy using PROXYTUNNEL. He found a case where it would connect fine but bits.tcpconnect was not set correct so libcurl didn't work properly. (http://curl.haxx.se/bug/view.cgi?id=2963679)
-rw-r--r--CHANGES7
-rw-r--r--RELEASE-NOTES3
-rw-r--r--lib/connect.c1
3 files changed, 10 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 5fe6337b8..dd07f31a0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,13 @@
Changelog
Daniel Stenberg (23 Mar 2010)
+- Kenny To filed the bug report #2963679 with patch to fix a problem he
+ experienced with doing multi interface HTTP POST over a proxy using
+ PROXYTUNNEL. He found a case where it would connect fine but bits.tcpconnect
+ was not set correct so libcurl didn't work properly.
+
+ (http://curl.haxx.se/bug/view.cgi?id=2963679)
+
- Akos Pasztory filed debian bug report #572276
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276 mentioning a problem
with a resource that returns chunked-encoded _and_ with a Content-Length
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index c682b9cb7..ceb68113f 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -38,6 +38,7 @@ This release includes the following bugfixes:
o alarm()-based DNS timeout bug
o re-used FTP connection multi interface crash
o chunked-encoding with Content-Length: header problem
+ o multi interface HTTP POST over a proxy using PROXYTUNNEL
This release includes the following known bugs:
@@ -50,6 +51,6 @@ advice from friends like these:
Daniel Fandrich, Patrick Monnerat, Pat Ray, Wesley Miaw, Ben Greear,
Ryan Chan, Markus Duft, Andrei Benea, Jacob Moshenko, Daniel Johnson,
Constantine Sapuntzakis, Douglas Steinwand, Thomas Lopatic, Hauke Duden,
- Akos Pasztory
+ Akos Pasztory, Kenny To
Thanks! (and sorry if I forgot to mention someone)
diff --git a/lib/connect.c b/lib/connect.c
index 5e94b8673..c0f2012a8 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -574,6 +574,7 @@ CURLcode Curl_is_connected(struct connectdata *conn,
int error;
if(verifyconnect(sockfd, &error)) {
/* we are connected, awesome! */
+ conn->bits.tcpconnect = TRUE;
*connected = TRUE;
return CURLE_OK;
}