curl/lib/vquic
Stefan Eissing d4983ffc13
bufq: change read/write signatures
Change the signature of `bufq` functions from

* `ssize_t Curl_bufq_*(..., CURLcode *err)` to
* `CURLcode Curl_bufq_*(..., size_t *pn)`

This allows us to write slightly less code and avoids the ssize_t/size_t
conversions in many cases. Also, it gets the function in line with all
the other send/recv signatures.

Added helper functions in `cfilters.h` for sending from/receving into
a bufq.

Fuzzer now fails to build due to these changes and its testing of
the bufq API.

Closes #17396
2025-06-27 14:16:21 +02:00
..
.checksrc strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
curl_msh3.c bufq: change read/write signatures 2025-06-27 14:16:21 +02:00
curl_msh3.h lib: include files using known path 2025-04-08 17:00:00 +02:00
curl_ngtcp2.c bufq: change read/write signatures 2025-06-27 14:16:21 +02:00
curl_ngtcp2.h vquic: ngtcp2 + openssl support 2025-04-16 22:32:07 +02:00
curl_osslq.c bufq: change read/write signatures 2025-06-27 14:16:21 +02:00
curl_osslq.h lib: include files using known path 2025-04-08 17:00:00 +02:00
curl_quiche.c bufq: change read/write signatures 2025-06-27 14:16:21 +02:00
curl_quiche.h lib: include files using known path 2025-04-08 17:00:00 +02:00
vquic-tls.c pytest: add pinnedpubkey test cases 2025-05-21 22:45:42 +02:00
vquic-tls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
vquic.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
vquic.h vquic: ngtcp2 + openssl support 2025-04-16 22:32:07 +02:00
vquic_int.h vquic: consistent name for the stream struct across backends 2025-04-22 10:26:04 +02:00