summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 4b39d8060..a1e89fc70 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1597,7 +1597,7 @@ CURLcode Curl_http_done(struct Curl_easy *data,
return an error here */
failf(data, "Empty reply from server");
/* Mark it as closed to avoid the "left intact" message */
- connclose(conn, "Empty reply from server");
+ streamclose(conn, "Empty reply from server");
return CURLE_GOT_NOTHING;
}