url.c: fix the SIGPIPE comment for Curl_close

Closes #7984
This commit is contained in:
Daniel Stenberg 2021-11-10 09:26:40 +01:00
parent 9e560d11aa
commit 0942017162
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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)