Commit Graph

1422 Commits

Author SHA1 Message Date
Dirkjan Ochtman 6bd4e8e48b Move populate_packet() below poll_transmit() 2019-05-18 22:07:32 +02:00
Dirkjan Ochtman f247b2f5e5 Upgrade rcgen to 0.3 2019-05-18 08:40:05 -07:00
Benjamin Saunders 88dfacfcc6 Fix corruption of long client Initial packets 2019-05-17 07:30:08 +02:00
Benjamin Saunders 94b7eff261 Don't duplicate retransmitted handshake data 2019-05-17 07:30:08 +02:00
Benjamin Saunders 472a091e22 Improve malformed frame handling 2019-05-17 07:30:08 +02:00
Dirkjan Ochtman eadc5d3fcf Bump version to 0.4.0 2019-05-13 17:15:32 -07:00
Benjamin Saunders 15b8692dcf Fix spurious ZeroRttRejected on outgoing 0.5-RTT streams 2019-04-30 18:29:40 +02:00
Benjamin Saunders a8f403bc9b Improve stream opening behavior documentation 2019-04-30 18:29:40 +02:00
Benjamin Saunders 2f372b4934 Limit CRYPTO buffering 2019-04-29 09:11:40 -07:00
Benjamin Saunders 7e3c24ef55 Set fixed bit on outgoing version negotiation packets 2019-04-29 09:11:40 -07:00
Benjamin Saunders 1dc0b5ed1c Allow connection migration to be disabled
Allows undemanding applications to reduce their attack surface area.
2019-04-29 09:11:40 -07:00
Benjamin Saunders 2e3a6e1b38 Require sane stream limits 2019-04-29 09:11:40 -07:00
Benjamin Saunders 5813fe8923 Strengthen incoming transport parameter sanity checking 2019-04-29 09:11:40 -07:00
Benjamin Saunders b201ccb8ac Don't use inapplicable cached transport parameters for 0-RTT 2019-04-29 09:11:40 -07:00
Benjamin Saunders 80f823f707 Bump QUIC draft version 2019-04-29 09:11:40 -07:00
Benjamin Saunders c12bd3e50e Expose remotely-initiated streams on closed connections
This allows reliably-delivered messages received immediately before
the connection is closed to be reliably processed by the application.
2019-04-28 21:13:20 +02:00
Benjamin Saunders 264904f692 Don't expose 0.5-RTT connections to servers by default
0.5-RTT connections have reduced security guarantees and hence must
only be exposed by opt-in.
2019-04-28 21:13:20 +02:00
Benjamin Saunders a804169f3c Further document importance of spawning ConnectionDrivers 2019-04-28 21:13:20 +02:00
Benjamin Saunders 979ccf0d28 Documented RecvStream drop behavior 2019-04-28 20:44:34 +02:00
Benjamin Saunders 28b32ea035 Implicitly finish send streams on drop 2019-04-28 20:44:34 +02:00
Benjamin Saunders e43c49d07b Fix stream state leak on failed finish 2019-04-28 20:44:34 +02:00
Benjamin Saunders 694f89bda8 Test stop-finish interactions 2019-04-28 20:44:34 +02:00
Benjamin Saunders 283497a27f Refactor handling of STOP_SENDING after finish 2019-04-28 20:44:34 +02:00
stammw ba906f947f make open_{uni,bi} return nominative type for user convenience 2019-04-28 20:33:28 +02:00
Benjamin Saunders aa94c946b6 Reference quinn-proto from quinn by a consistent name 2019-04-27 20:57:19 +02:00
Benjamin Saunders 05cc1ce0a8 Remove unused imports/reexports 2019-04-27 20:57:19 +02:00
Benjamin Saunders dcaa80c170 Define helper future for finishing streams
More convenient than the tokio::io shutdown helper, and preserves
specific error information.
2019-04-27 20:57:19 +02:00
Benjamin Saunders 6e74f99cba Clarify SendStream::stop semantics 2019-04-27 20:57:19 +02:00
Benjamin Saunders 7100445ea7 Fix handling of STOP_SENDING during or immediately before finish
The high level code could previously get stuck waiting for
StreamFinished on a stream that was implicitly reset by STOP_SENDING.
2019-04-27 20:57:19 +02:00
Dirkjan Ochtman 41c3162276 Fix clippy suggestions in qif interop code 2019-04-27 07:02:14 +02:00
Dirkjan Ochtman 0bf91ba2b6 Improve style on QPACK tables 2019-04-27 07:02:14 +02:00
Dirkjan Ochtman 0931ec1b1b Fix most clippy warnings in quinn-h3 2019-04-27 07:02:14 +02:00
Dirkjan Ochtman c544a0d7a1 Fix clippy suggestions in interop tool 2019-04-26 22:01:17 +02:00
Benjamin Saunders 9eea392e35 Restrict read_to_end to unread streams 2019-04-25 06:46:09 +02:00
Benjamin Saunders 8966c7e2d1 Don't yield stream from ReadToEnd
This was left over from before bidirectional streams were decoupled.
2019-04-25 06:46:09 +02:00
Benjamin Saunders d038959f2d Avoid reallocations in ReadToEnd helper future 2019-04-25 06:46:09 +02:00
dependabot[bot] e7d988cfef Update hex-literal requirement from 0.1.1 to 0.2.0
Updates the requirements on [hex-literal](https://github.com/RustCrypto/utils) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.1.2...hex-literal-v0.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-24 07:46:10 +02:00
stammw ba2eff5fe9 QPACK: fix default values for settings 0.3.0 2019-04-18 14:36:14 +02:00
stammw af8ff7c49e H3: change reserved stream type pattern 2019-04-18 14:36:14 +02:00
stammw c2db1d5437 H3: varint Settings ids and ignore unknown settings 2019-04-18 14:36:14 +02:00
stammw 54aa9c967d H3: stream types varint format 2019-04-18 14:36:14 +02:00
stammw 6a942a3c8e H3: frame header reordering and varint for frame type 2019-04-18 14:36:14 +02:00
Benjamin Saunders 462267f281 Fix example endpoint construction 2019-04-18 06:53:20 +02:00
Dirkjan Ochtman c6d36e9201 Bump version numbers to 0.3.0 2019-04-17 09:14:53 -07:00
Povilas Balciunas 1015ffbcb6 Add example how to ignore server certificate verification 2019-04-17 17:54:25 +02:00
Povilas Balciunas daed3dd3f4 Add example how to use single UDP socket for multiple QUIC connections 2019-04-17 17:54:25 +02:00
Povilas Balciunas 53e677dac6 Add the simplest QUIC connection example 2019-04-17 17:54:25 +02:00
Dirkjan Ochtman 2dd342f4dc Add missing documentation comment 2019-04-17 09:29:36 +02:00
stammw c7f0cad19a Access stream id from other crates for H3 2019-04-17 00:05:05 -07:00
Dirkjan Ochtman 832d740671 Re-enable dual stack tests on macOS 2019-04-17 06:51:14 +02:00