summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-11-10 09:26:40 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-10 09:26:40 +0100
commitd6f4195c9b5411bdf82bc23ed775b3e55af7de22 (patch)
tree5923af5981f00dbc35e0cf7a648d4190def175db
parent9e560d11aad028de74addc0d1edfefa5667884f4 (diff)
downloadcurl-bagder/curl_close-comment.tar.gz
url.c: fix the SIGPIPE comment for Curl_closebagder/curl_close-comment
-rw-r--r--lib/url.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/url.c b/lib/url.c
index 93b4397bf..9f446817f 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -354,9 +354,7 @@ static void up_free(struct Curl_easy *data)
* This is the internal function curl_easy_cleanup() calls. This should
* cleanup and free all resources associated with this sessionhandle.
*
- * NOTE: if we ever add something that attempts to write to a socket or
- * similar here, we must ignore SIGPIPE first. It is currently only done
- * when curl_easy_perform() is invoked.
+ * We ignore SIGPIPE when this is called from curl_easy_cleanup.
*/
CURLcode Curl_close(struct Curl_easy **datap)