From ef0ed9b7206e186c7d3d08b91885efdd0d0db9df Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 21 Jan 2008 23:48:58 +0000 Subject: Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed that it is bad anyway. Starting now, removing a handle that is in used in a pipeline will break the pipeline - it'll be set back up again but still... --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index 7099f116a..5a47e289a 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2477,7 +2477,7 @@ ConnectionExists(struct SessionHandle *data, } if(match) { - if(!Curl_isPipeliningEnabled(data)) { + if(!check->is_in_pipeline) { /* The check for a dead socket makes sense only in the non-pipelining case */ bool dead = SocketIsDead(check->sock[FIRSTSOCKET]); -- cgit v1.2.3