curl/lib/vquic
Stefan Eissing 5b80b4c012
lib: replace getsock() logic with pollsets
`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
2025-08-04 23:43:13 +02:00
..
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
curl_ngtcp2.c lib: replace getsock() logic with pollsets 2025-08-04 23:43:13 +02:00
curl_ngtcp2.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_osslq.c lib: replace getsock() logic with pollsets 2025-08-04 23:43:13 +02:00
curl_osslq.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_quiche.c lib: replace getsock() logic with pollsets 2025-08-04 23:43:13 +02:00
curl_quiche.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
vquic-tls.c vquic-tls: fix SSL backend type for QUIC connections using gnutls 2025-07-20 23:10:15 +02:00
vquic-tls.h http/3: report handshake with version and cipher as for TCP connections 2025-07-14 14:08:32 +02:00
vquic.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
vquic.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
vquic_int.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00