Commit Graph

2620 Commits

Author SHA1 Message Date
Benjamin Saunders 6c7889d06b Don't initiate migrations due to reordered packets 2019-09-18 07:29:34 +02:00
Benjamin Saunders e0634cc229 Don't close the connection due to an illegal migration
See https://github.com/quicwg/base-drafts/pull/2893.
2019-09-18 07:29:34 +02:00
Benjamin Saunders e3c9fca34e Fix bad behavior opening streams on a closed connection
The low-level API would unintuitively appear to succeed until the
window is exhausted, at which point the high-level API would yield
futures that would never resolve.
2019-09-18 06:52:44 +02:00
dependabot-preview[bot] 0fd2419e0f Update rcgen requirement from 0.6 to 0.7
Updates the requirements on [rcgen](https://github.com/est31/rcgen) to permit the latest version.
- [Release notes](https://github.com/est31/rcgen/releases)
- [Changelog](https://github.com/est31/rcgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/est31/rcgen/compare/v0.6.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-15 22:17:20 -07:00
dependabot-preview[bot] 37de74603c Update rcgen requirement from 0.5 to 0.6
Updates the requirements on [rcgen](https://github.com/est31/rcgen) to permit the latest version.
- [Release notes](https://github.com/est31/rcgen/releases)
- [Changelog](https://github.com/est31/rcgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/est31/rcgen/compare/v0.5.0...v0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 07:01:56 +02:00
stammw 5881196211 H3: Simpler examples 2019-09-10 09:21:51 +02:00
stammw 69a4977267 H3: move some common example code into a shared module 2019-09-10 09:21:51 +02:00
stammw 297c99a9aa H3: minor readabilty tweak 2019-09-10 09:21:51 +02:00
stammw 36dfee6ea7 H3: let client close connection gracefully 2019-09-10 09:21:51 +02:00
stammw accb344fe0 H3: rename Response and Request Builders 2019-09-10 09:21:51 +02:00
stammw 3bd0c6969d H3: prevent extra copy when sending DataFrame 2019-09-10 09:21:51 +02:00
stammw d6b696c192 H3: stream request body from client 2019-09-10 09:21:51 +02:00
stammw 07cc1cc5ae H3: helper function to build response 2019-09-10 09:21:51 +02:00
stammw 6950e350ea H3: introduce builder pattern for client request 2019-09-10 09:21:51 +02:00
stammw 436f1cd511 H3: make sending response error management more ergonomic 2019-09-10 09:21:51 +02:00
stammw 6d6763da03 H3: refactor client with SendHeaders 2019-09-10 09:21:51 +02:00
stammw 2e7ef52d0d H3: use SendHeaders to send trailers in SendResponse 2019-09-10 09:21:51 +02:00
stammw 0459854acb H3: fix tail buffer ignored in BodyReader 2019-09-10 09:21:51 +02:00
stammw fdd801c6e9 H3: refactor server code to integrate BodyWriter 2019-09-10 09:21:51 +02:00
stammw 9b212aaef5 H3: BodyWriter, AsyncWrite implementation 2019-09-10 09:21:51 +02:00
stammw df4880a936 H3: Sending headers gets it's own future 2019-09-10 09:21:51 +02:00
Benjamin Saunders 77b47504b2 s/Directionality/Dir/ 0.4.0 2019-09-08 07:57:44 +02:00
Benjamin Saunders 6433d4aff6 Don't bother copying empty slices
If a chunk of data ends at `self.offset` exactly, we can discard it
immediately.
2019-09-07 19:51:06 +02:00
stammw 23dcf2cf90 H3: partial DataFrame decoding implementation 2019-09-06 17:12:10 +02:00
stammw 6ae1fb2504 H3: fix minor style problem 2019-09-06 17:12:10 +02:00
stammw 6c5dabebe9 H3: fix request / response build error handling 2019-09-06 17:12:10 +02:00
stammw 58bdb79497 H3: use ok_or_else to handle request headers building error 2019-09-06 17:12:10 +02:00
stammw 34088990db H3: remove superfluous stream / reader conversion for ReadToEnd 2019-09-06 17:12:10 +02:00
stammw a90ad6e8b8 H3: make the user specify memory usage params on RecvBody construction 2019-09-06 17:12:10 +02:00
stammw 503de0b78e H3: embed RecvBody into Http:: Request and Response type param 2019-09-06 17:12:10 +02:00
stammw 81aa76bc50 H3: implement Debug for RecvBody 2019-09-06 17:12:10 +02:00
stammw 73065fa443 H3: rename RecvBody into ReadToEnd and Receiver into RecvBody 2019-09-06 17:12:10 +02:00
stammw 73be859e8c H3: introduce an intermediary type before any body-recv option 2019-09-06 17:12:10 +02:00
stammw 13cd3cf86f H3: return RecvBody along response in client, similarly to server 2019-09-06 17:12:10 +02:00
stammw 874dafefc7 H3: AsyncRead or Stream from RecvBody, so server can stream request 2019-09-06 17:12:10 +02:00
stammw 92c04c3b66 H3: separate request header, body, and response structs in server 2019-09-06 17:12:10 +02:00
stammw 57c756a633 H3: default capacity values for RecvBody 2019-09-06 17:12:10 +02:00
Dirkjan Ochtman d4b90ee9ce Annotate safe unwrap() 2019-09-02 14:53:46 -07:00
Dirkjan Ochtman 1a67c4d3ee Mark usage of unwrap() as safe 2019-09-02 14:53:46 -07:00
Dirkjan Ochtman ccd30fd16d Don't panic from unknown StreamIds 2019-09-02 14:53:46 -07:00
Dirkjan Ochtman 08ade317a5 Don't unwrap() when updating retransmit state 2019-09-02 14:53:46 -07:00
Dirkjan Ochtman 920887327f Rename getters to remove unidiomatic get_ prefix 2019-09-02 14:53:46 -07:00
Dirkjan Ochtman a94b4492b9 Pass SentPacket into on_packet_acked() directly 2019-09-02 14:53:46 -07:00
dependabot-preview[bot] 7326d2ef33 Update structopt requirement from 0.2.7 to 0.3.0
Updates the requirements on [structopt](https://github.com/TeXitoi/structopt) to permit the latest version.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.2.7...v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 07:05:29 +02:00
Dirkjan Ochtman ecad206f8f Keep module prefixes for aead types 2019-08-27 07:57:50 -07:00
Dirkjan Ochtman a6cc48a23b Upgrade to ring 0.16 2019-08-27 07:57:50 -07:00
Benjamin Saunders 793e0e7828 Rename 0-RTT test for easier isolation
Tests whose names are subsets of other tests' names are difficult to
run on their own.
2019-08-27 07:57:50 -07:00
Benjamin Saunders f2dcbcde47 Fix 0-RTT with non-default ciphersuite 2019-08-27 07:57:50 -07:00
Benjamin Saunders ae90bc761d Remove byteorder dependency
This functionality is now available in std.
2019-08-26 07:08:51 +02:00
Benjamin Saunders d7109327e7 Remove dead dependency 2019-08-26 07:08:51 +02:00