Benjamin Saunders
cf319d562f
Helper functions for unwrapping incoming streams of known type
2019-06-24 19:31:38 +02:00
Benjamin Saunders
3298fc91bc
ClientConfigBuilder::logger
2019-06-24 19:31:38 +02:00
Benjamin Saunders
b46fa54da5
Fix high-level 0.5-RTT connections
2019-06-24 19:31:38 +02:00
Benjamin Saunders
d187f99c25
Fix warnings in high-level examples
2019-06-24 19:31:38 +02:00
Benjamin Saunders
d850ab1099
Document UDP buffer sensitivity
2019-06-24 08:38:38 +02:00
Benjamin Saunders
9d0fb29b6b
Hide internals of Timer
2019-06-24 08:38:38 +02:00
Benjamin Saunders
15fafa493c
Hide internals of ConnectionEvent
...
Reduces likelihood of future API breakage
2019-06-24 08:38:38 +02:00
Benjamin Saunders
eeac356ca5
Move ClientConfig into shared.rs for consistency with ServerConfig
2019-06-24 08:38:38 +02:00
Dirkjan Ochtman
7b507d82b1
Move ALPN_QUIC_HTTP from library to examples/interop code
2019-06-20 12:30:02 -07:00
Dirkjan Ochtman
e0b4435244
Stop using ALPN_QUIC_HTTP for tests
2019-06-20 12:30:02 -07:00
Dirkjan Ochtman
886a137703
Move H3 ALPN token into quinn-h3
2019-06-20 12:30:02 -07:00
Dirkjan Ochtman
bed5f1589f
Run tests without rustls in CI
2019-06-20 08:37:06 -07:00
Dirkjan Ochtman
b1a4b978ec
Allow testing quinn-proto without rustls or ring
2019-06-20 08:37:06 -07:00
Dirkjan Ochtman
de15d80187
Create TransportErrors directly from crypto code
2019-06-20 08:37:06 -07:00
Dirkjan Ochtman
f62eb8ff5f
Remove dependency on rustls for error debugging
2019-06-20 08:37:06 -07:00
Dirkjan Ochtman
45ee97bd5a
Upgrade to rcgen 0.4
2019-06-18 14:11:40 -07:00
Dirkjan Ochtman
7bf24093c5
Implement Clone and Debug for builder types
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
af5553706e
Create actual key objects inside the Endpoint
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
e6a1006a07
Take a crypto::Session as the parameter for ServerConfig
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
1326ee206b
Move token functions into endpoint module
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
a96a385e5c
Use HmacKey interface for reset_token_for()
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
b89c75aac2
Separate HMAC operations from token generation and checking
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
b9eea9a291
Create a trait for HMAC signing and verification
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
928461e354
Rename variables to match destination type
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
00fca4f189
Move CID signing into Endpoint
2019-06-15 08:08:21 -07:00
Dirkjan Ochtman
b2d5542c59
Remove unnecessary extern crate statements
2019-06-15 08:51:05 +02:00
Dirkjan Ochtman
81d7246ea5
Order quinn-h3 dependencies by alphabet
2019-06-15 08:51:05 +02:00
Dirkjan Ochtman
05b3fac2dc
Use tokio-codec::Decoder to decode H3 frames ( fixes #354 )
2019-06-15 08:51:05 +02:00
Dirkjan Ochtman
452d18e5ff
Add specific error variant for incomplete frames
2019-06-15 08:51:05 +02:00
Dirkjan Ochtman
c393c4622d
Only depend on tokio_io for quinn-h3 library code
2019-06-15 08:51:05 +02:00
Dirkjan Ochtman
eed6f6ccaa
Simplify Header initialization
2019-06-14 14:27:52 +02:00
Dirkjan Ochtman
5ab0c02f68
Lots of fixes as suggested by clippy
2019-06-14 14:27:52 +02:00
Benjamin Saunders
62909455ea
Remove dead error case
2019-06-12 07:28:43 +02:00
dependabot-preview[bot]
7fe5b776fc
Update directories requirement from 1.0.2 to 2.0.1
...
Updates the requirements on [directories](https://github.com/soc/directories-rs ) to permit the latest version.
- [Release notes](https://github.com/soc/directories-rs/releases )
- [Commits](https://github.com/soc/directories-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-10 09:10:37 +02:00
dependabot-preview[bot]
0983038105
Update rcgen requirement from 0.2 to 0.3
...
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/commits/v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-10 07:52:47 +02:00
Dirkjan Ochtman
e84fff9e46
Remove prefix from builder types to avoid stuttering
2019-06-09 11:30:09 +02:00
Dirkjan Ochtman
a2a64e510c
Store owned reactor Handles instead of references
...
The lifetime parameter on builders make it harder to embed these in other
contexts (in my case, a hyper builder). In hyper itself, reactor handles
also seem to be stored as owned rather than as references, and since they
are defined to contain an reference counted pointer, cloning should be cheap.
2019-06-09 11:30:09 +02:00
Dirkjan Ochtman
c40340ca3b
Switch to git http for now to enable HTTP 3 support
2019-06-09 11:29:39 +02:00
Dirkjan Ochtman
ea6be3467c
Fix breakage in quinn-h3 due to crypto changes
2019-06-08 08:40:10 -07:00
stammw
4c75c06869
H3: Document pseudo-header fields
2019-06-07 20:13:27 +02:00
stammw
9910013a4e
QPACK: make encode accept slice of HeaderField
2019-06-07 20:13:27 +02:00
stammw
e0f1d11fb4
H3: fix receive misspelling
2019-06-07 20:13:27 +02:00
stammw
25fc68d760
H3: send trailers from client
2019-06-07 20:13:27 +02:00
stammw
efaf945258
H3: request body
2019-06-07 20:13:27 +02:00
stammw
9fcf9290ba
H3: Fix frame stream not polled anymore when finished
2019-06-07 20:13:27 +02:00
stammw
2e8a2fb1e4
H3: exchange trailers after body
2019-06-07 20:13:27 +02:00
stammw
5504ffafa8
H3: client receive body
2019-06-07 20:13:27 +02:00
stammw
fca903d1b5
H3: Fix infinit FrameStream polling (don't ignore poll_read() = 0)
2019-06-07 20:13:27 +02:00
stammw
af606683a0
H3: send body from server
2019-06-07 20:13:27 +02:00
stammw
051ab91df9
H3: generalize try_take helper usage
2019-06-07 20:13:27 +02:00