1649 Commits

Author SHA1 Message Date
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
Benjamin Saunders f50dd9f54a Restore NewConnection struct for parts of a connection
This enables forwards-compatibility with future extensions such as
a datagram stream.
2019-08-25 14:50:01 -07:00
Dirkjan Ochtman b70e939893 Upgrade to criterion 0.3 2019-08-25 13:29:44 -07:00
Benjamin Saunders d8d5a2829a Improve configuration advice
A user reported uncertainty about proceeding without fully
understanding the available options. Quinn tries to be extremely
configurable, so it's important to communicate that most options don't
need to be changed for most applications.
2019-08-19 09:24:42 +02:00
stammw 06d060c0e9 H3: use AsyncRead into the example 2019-08-12 21:21:30 +02:00
stammw db7a8d3dd3 H3: AsyncRead implementation for recieving body from client 2019-08-12 21:21:30 +02:00
stammw ded85aa004 H3: reset expected frame size once one have been successfully decoded 2019-08-12 21:21:30 +02:00
Dirkjan Ochtman 01b9d212be Upgrade to url 2 2019-07-24 21:29:48 +02:00
Benjamin Saunders fde34da924 Fix panics when a server doesn't issue a stateless reset token
Stateless reset tokens are no longer mandatory.
2019-07-23 08:06:03 +02:00
Dirkjan Ochtman cb4662736b Check benchmark code in CI 2019-07-22 18:39:45 -07:00
Dirkjan Ochtman 0f9d497b83 Tweak CI config with latest template changes
- Run ignored tests, used for slow tests (we used to have this on Travis)
- Run coverage on nightly for now due to (see #336)
2019-07-22 23:26:49 +02:00
Dirkjan Ochtman 00714f08a8 Add note about platforms CI to README 2019-07-22 07:36:43 -07:00
Dirkjan Ochtman d2ddc4aede Use different project for Azure Pipelines
In the initial setup, I skimmed too fast over the paragraph that stated that
Azure DevOps projects must be aligned to GitHub organizations/users. Since
I want to use Azure Pipelines for other projects, too, I've reorganized the
setup a bit, which means the badge links need to be updated.
2019-07-22 07:36:43 -07:00
Benjamin Saunders b9f6c037b5 Quash unused import warning when testing without default features 2019-07-22 08:44:56 +02:00
Benjamin Saunders 4dc90ffbc9 Simplify annotations for test accessors 2019-07-22 08:44:56 +02:00
Benjamin Saunders 475cb60eb3 Don't export VERSION constant
It's not clear why downstream code would need this.
2019-07-22 08:44:56 +02:00
Benjamin Saunders 0b3364fe55 Don't panic if a misbehaving peer reuses a reset token 2019-07-22 08:41:04 +02:00
Benjamin Saunders 26abc4bb6e Replace uses of mem::uninitialized with mem::MaybeUninit 2019-07-22 08:39:47 +02:00
Dirkjan Ochtman 2a29b77c35 Remove Travis configuration 2019-07-21 12:00:53 +02:00
Dirkjan Ochtman 014489ca7d Change badges from Travis to Azure 2019-07-21 12:00:53 +02:00
Dirkjan Ochtman 1a60157ea6 Set up CI with Azure Pipelines 2019-07-20 15:40:42 -07:00
Dirkjan Ochtman 73b5dad6a2 Fix obsolete import in non-Unix fallback code 2019-07-20 15:40:42 -07:00