curl/lib/vquic
Stefan Eissing c4f29cc508
ip_quadruple/proxy: make port uint16_t
Make `port` member in these struct of type `uint16_t`.

add `uint8_t transport` to `struct ip_quadruple

Define TRNSPRT_NONE as 0. By assigning a valid transport only on a
successful connection, it is clear when the ip_quadruple members are
valid. Also, for transports not involving ports, the getinfos for
`CURLINFO_PRIMARY_PORT` and `CURLINFO_LOCAL_PORT` will now always return
-1.

Make all `transport` members and parameters of type `uint8_t`.

Document the return value of `CURLINFO_LOCAL_PORT` and
`CURLINFO_PRIMARY_PORT` in this regard. Add tests that writeout stats
report ports correctly.

Closes #19708
2025-11-27 14:32:01 +01:00
..
curl_ngtcp2.c conncontrol: reuse handling 2025-11-27 14:30:14 +01:00
curl_ngtcp2.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_osslq.c conncontrol: reuse handling 2025-11-27 14:30:14 +01:00
curl_osslq.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_quiche.c conncontrol: reuse handling 2025-11-27 14:30:14 +01: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/gnutls: call Curl_gtls_verifyserver unconditionally 2025-11-14 17:05:11 +01: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 ip_quadruple/proxy: make port uint16_t 2025-11-27 14:32:01 +01:00
vquic.h ip_quadruple/proxy: make port uint16_t 2025-11-27 14:32:01 +01:00
vquic_int.h lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00