From: Daniel Stenberg Date: Wed, 10 Nov 2021 08:26:40 +0000 (+0100) Subject: url.c: fix the SIGPIPE comment for Curl_close X-Git-Tag: curl-7_81_0~189 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0942017162b064c223cc6111306bf06903f3262b;p=thirdparty%2Fcurl.git url.c: fix the SIGPIPE comment for Curl_close Closes #7984 --- diff --git a/lib/url.c b/lib/url.c index 93b4397bff..9f446817f5 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)