Commit Graph

1953 Commits

Author SHA1 Message Date
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
Benjamin Saunders 505e79e6ed Naming consistency 2020-01-12 10:07:04 +01:00
Benjamin Saunders 325e5938f5 Document instability of Connection::remote_address 2020-01-12 10:07:04 +01:00
Benjamin Saunders b17bc14662 Don't expose connection IDs
These aren't particularly interesting to users and can change
unpredictably, so exposing them is an unnecessary footgun.
2020-01-12 10:07:04 +01:00
Benjamin Saunders 14098a586e Fix timer updates not being applied while a timer was active
Fixes a bug introduced in 9676f3e982.
2020-01-12 10:04:47 +01:00
Benjamin Saunders 29dfcab51f Fix explicit close causing early connection driver termination 2020-01-07 08:53:43 +01:00
Benjamin Saunders 195135a39b Remove vestigal IoQueue struct 2020-01-07 08:53:43 +01:00
Benjamin Saunders 9676f3e982 Expose a single timer per Connection
Zero-cost simplification.
2020-01-07 08:53:43 +01:00
Dirkjan Ochtman 715ab1678d Update CI badge to point to GitHub Actions 2020-01-02 14:56:43 -08:00
stammw c07cc7f9d2 H3: poll control on opening instead of twice per loop 2019-12-31 09:33:55 +01:00
stammw 3befe15c16 H3: default path is "/", not "" 2019-12-31 09:33:55 +01:00
stammw 6fc82a1ffd H3: Fix header len count in request constructor 2019-12-31 09:33:55 +01:00
stammw 0b4fa10b97 H3: spawn each incoming connection in server example 2019-12-31 09:33:55 +01:00
stammw 21f9cc9d33 H3: accept directly http::Uri in client example args 2019-12-31 09:33:55 +01:00
stammw f9965e473f H3: avoid panics in server example critical path 2019-12-31 09:33:55 +01:00
stammw cf1cac3587 H3: poll control before anything in driver 2019-12-31 09:33:55 +01:00
stammw 71d39699d4 H3: remove unlegitimate IOError in body reader 2019-12-31 09:33:55 +01:00
stammw 311c0b6d07 h3 only interop for picoquic 2019-12-31 09:33:55 +01:00