]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
url.c: fix the SIGPIPE comment for Curl_close
authorDaniel Stenberg <daniel@haxx.se>
Wed, 10 Nov 2021 08:26:40 +0000 (09:26 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 10 Nov 2021 13:50:28 +0000 (14:50 +0100)
Closes #7984

lib/url.c

index 93b4397bff9802fc390532fe81c51535512e221c..9f446817f58ac26a8bba24d3323bde25e0e7ed0c 100644 (file)
--- 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)