]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: set in_callback for multi interface callbacks
authorDaniel Stenberg <daniel@haxx.se>
Sun, 16 Jan 2022 22:00:09 +0000 (23:00 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Jan 2022 15:44:45 +0000 (16:44 +0100)
commit340bb1905f88b13655e89760ca6f4f2d02dc011a
tree7f4e4a574a87a2c4c6dafe6c25ca4a1fc90271f8
parenta3d2eeab01c709c85e125f8afa498326783312ce
multi: set in_callback for multi interface callbacks

This makes most libcurl functions return error if called from within a
callback using the same multi handle. For example timer or socket
callbacks calling curl_multi_socket_action.

Reported-by: updatede on github
Fixes #8282
Closes #8286
lib/multi.c