summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-21 08:43:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-21 08:43:49 +0100
commitb6af295353bb01abdff18fd2ca3840e22be973c9 (patch)
tree8cfa87ba198c8618d4548caba60271b98f3086ee
parentf5b81c9760e78333238e813202db65c699f3bcc7 (diff)
downloadcurl-bagder/empty-not-intact.tar.gz
fixup use streamclose insteadbagder/empty-not-intact
-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;
}