{"author":"Stefan Eissing","author_email":"stefan@eissing.org","author_time":1754317057,"commit_time":1754343793,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"5b80b4c0121b69e9a9209d6734098181356b3d23","message":"lib: replace `getsock()` logic with pollsets\n\n`getsock()` calls operated on a global limit that could\nnot be configure beyond 16 sockets. This is no longer adequate\nwith the new happy eyeballing strategy.\n\nInstead, do the following:\n- make `struct easy_pollset` dynamic. Starting with\n  a minimal room for two sockets, the very common case,\n  allow it to grow on demand.\n- replace all protocol handler getsock() calls with pollsets\n  and a CURLcode to return failures\n- add CURLcode return for all connection filter `adjust_pollset()`\n  callbacks, since they too can now fail.\n- use appropriately in multi.c and multi_ev.c\n- fix unit2600 to trigger pollset growth\n\nCloses #18164\n","parents":["c85c2b7be7c3786b172d4f619bfeb5e0e90980fb"],"tree_hash":"72fe55072d3dd8f299941efcc77f9bcb1b871b8b"}