]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLMOPT_SOCKETFUNCTION.md: expand on the easy argument
authorDaniel Stenberg <daniel@haxx.se>
Thu, 5 Sep 2024 14:17:50 +0000 (16:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 5 Sep 2024 15:09:03 +0000 (17:09 +0200)
Since recent changes makes it more likely to be an internal handle that
shows up and some users have been surprised by this.

Ref: #14792
Closes #14795

docs/libcurl/opts/CURLMOPT_SOCKETFUNCTION.md

index a53ee43d3077f561c7a5294d34089f6a3a3f48df..60c1185ea3ee65888ebcf1f7ff7d96158391647c 100644 (file)
@@ -50,6 +50,9 @@ libcurl by calling curl_multi_socket_action(3).
 # CALLBACK ARGUMENTS
 
 *easy* identifies the specific transfer for which this update is related.
+Since this callback manages a whole multi handle, an application should not
+make assumptions about which particular handle that is passed here. It might
+even be an internal easy handle that the application did not add itself.
 
 *s* is the specific socket this function invocation concerns. If the
 **what** argument is not CURL_POLL_REMOVE then it holds information about