From 0942017162b064c223cc6111306bf06903f3262b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 10 Nov 2021 09:26:40 +0100 Subject: url.c: fix the SIGPIPE comment for Curl_close Closes #7984 --- lib/url.c | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.1