Commit Graph

2620 Commits

Author SHA1 Message Date
stammw 85a012e9df H3: functionnal test for connection closure 2020-02-08 20:49:05 +01:00
stammw 757deecbdf H3: Close connection on client drop 2020-02-08 20:49:05 +01:00
stammw b2fac762f0 H3: update tokio dependency to 0.2.6 2020-02-08 20:49:05 +01:00
stammw 445a4388aa H3: Make user's futures resolve on driver error 2020-02-08 20:49:05 +01:00
stammw 949d947394 H3: make Request yeild Connection's private 2020-02-08 20:49:05 +01:00
stammw d4b05530ad H3: Fix driver error reaction for closing and logging 2020-02-08 20:49:05 +01:00
Benjamin Saunders 2d9fe2c186 Tolerate excess Endpoint::accept calls 2020-02-08 20:43:41 +01:00
Benjamin Saunders 861557531e Fix documentation for Endpoint::accept 2020-02-08 20:43:41 +01:00
Benjamin Saunders c594f1b4e5 Make lazy_static a dev-dependency only 2020-02-07 19:34:49 +01:00
dependabot-preview[bot] 147588db31 Update tracing-subscriber requirement from 0.1.5 to 0.2.0
Updates the requirements on [tracing-subscriber](https://github.com/tokio-rs/tracing) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.1.5...tracing-subscriber-0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 22:00:55 -08:00
Benjamin Saunders 33a7eb49a4 Fix panic in criterion benchmarks 2020-02-03 06:44:36 +01:00
Benjamin Saunders 932129b052 Test finishing a stream with lost data 2020-02-01 13:50:30 -08:00
Benjamin Saunders 1ef0bfc62d Don't mark a stream finished if the FIN hasn't been acked 2020-02-01 13:50:30 -08:00
Benjamin Saunders 2e3ed03cbf Test that a finish event is not yielded before FIN is acked 2020-02-01 13:50:30 -08:00
Benjamin Saunders b46586c1a2 Replace pub(crate) with pub in members/methods of pub(crate) types
Qualifying every member/method seems to be redundant when the type
itself is already qualified, and this improves concision.
2020-02-01 13:50:30 -08:00
Benjamin Saunders 3f2ca35c38 Update style to rustfmt 1.41 2020-02-01 20:21:04 +01:00
Benjamin Saunders caf0767f31 Re-export public ParseError type 2020-02-01 19:58:21 +01:00
Dirkjan Ochtman 2c9bc19b33 Disable codecov status for now 2020-01-27 10:21:10 -08:00
Benjamin Saunders 566c8139ae Update rustls-native-certs
Improves robustness to certificate stores containing unsupported or
invalid data.
2020-01-27 08:30:24 +01:00
stammw 02fb796908 H3: use early return where possible. 2020-01-24 20:30:11 +01:00
stammw f80e0a03b3 H3 interop server 2020-01-24 20:30:11 +01:00
stammw ff4d736c06 H3: Close body writer on any state 2020-01-24 20:30:11 +01:00
stammw 384549faf2 H3: make frame decoding resilient to split headers 2020-01-24 20:30:11 +01:00
stammw 1a8d825ab8 H3: Display frame type number when it is unsupported 2020-01-24 20:30:11 +01:00
stammw 4a8cd6af35 H3: do not copy sent payload 2020-01-24 20:30:11 +01:00
stammw 7699d33c4e H3: Fix WriteFrame incomplete write management 2020-01-24 20:30:11 +01:00
Benjamin Saunders 8e53321bfc Rephrase some proto::Connection API docs in more concrete terms 2020-01-23 09:38:32 +01:00
Dirkjan Ochtman 5cf02b7f75 Add codecov configuration
This should prevent PRs from going red for having too little coverage.
2020-01-20 11:53:04 -08:00
Benjamin Saunders 29c5b2a9db Expand stream error docs 2020-01-20 10:44:06 +01:00
Dirkjan Ochtman f276d90dec Defragment incoming stream chunks (fixes #431) 2020-01-17 11:53:14 -08:00
Benjamin Saunders 5f81b5cf31 Enable tokio feature required for tokio::spawn 2020-01-16 09:15:31 +01:00
Benjamin Saunders 8f319924f6 Expose client-supplied server name 2020-01-13 21:55:53 +01:00
Dirkjan Ochtman 82e86e8c17 Switch back to tarpaulin & codecov 2020-01-13 11:35:22 -08:00
Benjamin Saunders 47ff6b52f2 Fix naked 0-RTT packets not being routed to their connections 2020-01-13 09:54:26 +01:00
Benjamin Saunders 60e1832ff2 Spawn incoming connection drivers eagerly
Avoids bug-prone double-polling of drivers for error detection
2020-01-13 09:54:26 +01:00
Benjamin Saunders 5774071b48 Spawn driver tasks implicitly 2020-01-13 09:54:26 +01:00
Benjamin Saunders debaabeaf3 Compare reset tokens in constant time 2020-01-13 08:56:22 +01:00
Benjamin Saunders 16e670c9f3 Simplify example common module 2020-01-13 08:54:04 +01:00
Benjamin Saunders 527444ed77 Simplify single_socket example 2020-01-13 08:54:04 +01:00
Benjamin Saunders 42ca1cc0a5 Simplify insecure_connection example 2020-01-13 08:54:04 +01:00
Benjamin Saunders 9a9d940e81 Simplify connection example 2020-01-13 08:54:04 +01:00
Benjamin Saunders ad34d334bb Mention datagrams in crate docs 2020-01-13 08:54:04 +01:00
Benjamin Saunders b28a6a8793 Mention quinn-proto in crate docs 2020-01-13 08:54:04 +01:00
Benjamin Saunders 0bf723009d Reference SendStream::finish from Connection::close 2020-01-13 08:54:04 +01:00
Benjamin Saunders aa13434d43 Replace fixed-point factors with floating point
Allows for much more obviously correct arithmetic.
2020-01-13 08:53:05 +01:00
Benjamin Saunders f34ce8b199 Richer time types in config structs 2020-01-13 08:53:05 +01:00
Benjamin Saunders ba734786f2 Remove vestigal config option 2020-01-13 08:53:05 +01:00
Benjamin Saunders 4386f4ce52 Store cryptographic keys directly in config structs 2020-01-13 08:53:05 +01:00
Benjamin Saunders 09729ebd23 Opaque config structs
Only exposing setters improves forwards compatibility and error
checking.
2020-01-13 08:53:05 +01:00
Demi M. Obenour 44267ec0d1 Expose the underlying TLS session 2020-01-12 10:14:50 +01:00