Update docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.md

Co-authored-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
Jayanth Vennamreddy 2026-02-07 18:39:41 -05:00 committed by jayvenn21
parent 9426e140c0
commit db82a8f110

View file

@ -76,7 +76,7 @@ unexpected readiness events.
## Socket callback and idle sockets
After libcurl signals CURL_POLL_REMOVE for a socket, the application must
stop monitoring that socket for read and write events on libcurl's behalf.
stop monitoring that socket on libcurl's behalf.
libcurl may still retain the connection internally for reuse. When the
socket has been removed, the pointer previously assigned to it with
curl_multi_assign(3) is forgotten by libcurl. Applications must not rely