Commit Graph

12 Commits

Author SHA1 Message Date
LAN Xingcan ee1c0fd143 proto: introduce ConnectionIdParser
Currently `PlainHeader::decode` and `PartialDecoder::new` expect a
`local_cid_len`, which means they cannot support variable length
Connection ID format and make it less useful in various use cases,
such as implementing a [QUIC-LB] confirming load balancer.

[QUIC-LB]: https://www.ietf.org/archive/id/draft-ietf-quic-load-balancers-19.html
2024-05-22 23:58:44 +02:00
Dirkjan Ochtman 134ef97bdd proto: warn on unreachable_pub
I have found this makes it easier to see whether changes affect the public
API, which can be hard especially in reviews when context is limited.
2023-04-11 10:47:44 +02:00
Benjamin Saunders 91fcd5ae04 Implement draft-ietf-quic-bit-grease-02 2022-01-22 21:54:34 +01:00
Dirkjan Ochtman ee6bbf1d2a Fix clippy suggestions from 1.57 2021-12-10 10:29:12 -08:00
David Craven 6671d14032 Allow overriding supported versions in EndpointConfig (#1106) 2021-05-03 10:04:59 +02:00
Dirkjan Ochtman 5a7b888934 quinn-proto: extract separate RecvStream interface type 2021-03-01 13:06:10 -08:00
Dirkjan Ochtman 0b350e5d11 quinn-proto: extract separate SendStream interface type 2021-03-01 13:06:10 -08:00
Dirkjan Ochtman d4bfc25d6a quinn-proto: move API logic into Streams 2021-03-01 13:06:10 -08:00
Dirkjan Ochtman 584b889494 quinn-proto: rename Streams to StreamsState 2021-03-01 13:06:10 -08:00
Benjamin Saunders f4b3fc15ef Copy default flow control parameters into Streams
Saves passing TransportParameters in all over the place.
2021-01-22 11:39:00 -08:00
Jared Fowler 9b5d5b35a3 Fuzz packet decoding (#885) 2021-01-03 21:51:53 +01:00
jafow c054fb36cb Fuzzing: adds target for streams type. 2020-09-21 09:36:17 +02:00