diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-03-23 23:29:23 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-03-23 23:30:39 +0100 |
commit | 4b351d018e3d6691191fd653a17f14f4a31e0b4c (patch) | |
tree | 90584ab3b7230b3cd66eb656633c0ea387c05ef0 /lib | |
parent | e32fe30d0cf7c1f7045ac0bd29322e7fb4feb5c8 (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)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |