aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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]);