aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-05 13:41:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-05 13:41:50 +0000
commite71378d3c83c43517e86d2ae792445301fd58aa6 (patch)
treec07ea9f7ff25e9509a5837d53429117303e39160 /lib
parent90d40aff729dfd3326e7c2b60883390408aadc0a (diff)
mark connect failures as non-connected when ConnectPlease() fails, like when
a connection through a socks proxy doesn't work
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 8a280aff4..8165c9298 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2346,6 +2346,8 @@ static CURLcode ConnectPlease(struct SessionHandle *data,
break;
}
}
+ if(result)
+ *connected = FALSE; /* mark it as not connected */
return result;
}