mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:05:56 +08:00
`getsock()` calls operated on a global limit that could not be configure beyond 16 sockets. This is no longer adequate with the new happy eyeballing strategy. Instead, do the following: - make `struct easy_pollset` dynamic. Starting with a minimal room for two sockets, the very common case, allow it to grow on demand. - replace all protocol handler getsock() calls with pollsets and a CURLcode to return failures - add CURLcode return for all connection filter `adjust_pollset()` callbacks, since they too can now fail. - use appropriately in multi.c and multi_ev.c - fix unit2600 to trigger pollset growth Closes #18164 |
||
|---|---|---|
| .. | ||
| .checksrc | ||
| curl_path.c | ||
| curl_path.h | ||
| libssh2.c | ||
| libssh.c | ||
| ssh.h | ||
| wolfssh.c | ||