Commit Graph

1392 Commits

Author SHA1 Message Date
Dirkjan Ochtman 0bf91ba2b6 Improve style on QPACK tables 2019-04-27 07:02:14 +02:00
Dirkjan Ochtman 0931ec1b1b Fix most clippy warnings in quinn-h3 2019-04-27 07:02:14 +02:00
Dirkjan Ochtman c544a0d7a1 Fix clippy suggestions in interop tool 2019-04-26 22:01:17 +02:00
Benjamin Saunders 9eea392e35 Restrict read_to_end to unread streams 2019-04-25 06:46:09 +02:00
Benjamin Saunders 8966c7e2d1 Don't yield stream from ReadToEnd
This was left over from before bidirectional streams were decoupled.
2019-04-25 06:46:09 +02:00
Benjamin Saunders d038959f2d Avoid reallocations in ReadToEnd helper future 2019-04-25 06:46:09 +02:00
dependabot[bot] e7d988cfef Update hex-literal requirement from 0.1.1 to 0.2.0
Updates the requirements on [hex-literal](https://github.com/RustCrypto/utils) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.1.2...hex-literal-v0.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-24 07:46:10 +02:00
stammw ba2eff5fe9 QPACK: fix default values for settings 0.3.0 2019-04-18 14:36:14 +02:00
stammw af8ff7c49e H3: change reserved stream type pattern 2019-04-18 14:36:14 +02:00
stammw c2db1d5437 H3: varint Settings ids and ignore unknown settings 2019-04-18 14:36:14 +02:00
stammw 54aa9c967d H3: stream types varint format 2019-04-18 14:36:14 +02:00
stammw 6a942a3c8e H3: frame header reordering and varint for frame type 2019-04-18 14:36:14 +02:00
Benjamin Saunders 462267f281 Fix example endpoint construction 2019-04-18 06:53:20 +02:00
Dirkjan Ochtman c6d36e9201 Bump version numbers to 0.3.0 2019-04-17 09:14:53 -07:00
Povilas Balciunas 1015ffbcb6 Add example how to ignore server certificate verification 2019-04-17 17:54:25 +02:00
Povilas Balciunas daed3dd3f4 Add example how to use single UDP socket for multiple QUIC connections 2019-04-17 17:54:25 +02:00
Povilas Balciunas 53e677dac6 Add the simplest QUIC connection example 2019-04-17 17:54:25 +02:00
Dirkjan Ochtman 2dd342f4dc Add missing documentation comment 2019-04-17 09:29:36 +02:00
stammw c7f0cad19a Access stream id from other crates for H3 2019-04-17 00:05:05 -07:00
Dirkjan Ochtman 832d740671 Re-enable dual stack tests on macOS 2019-04-17 06:51:14 +02:00
Benjamin Saunders f55dbaf8d0 Hack around broken macOS ECN ABI 2019-04-17 06:51:14 +02:00
Dirkjan Ochtman 3c1e0df5d0 Minor clippy fixes in quinn 2019-04-16 17:55:13 -07:00
Dirkjan Ochtman b1997b02b7 Rename EndpointBuilder::from_socket() to with_socket() 2019-04-16 17:55:13 -07:00
Dirkjan Ochtman 734978e59e Rename quinn::Endpoint::new() to builder() 2019-04-16 17:55:13 -07:00
Dirkjan Ochtman d2885aa402 Use explicit conversion for integer widening
As suggested by Clippy.
2019-04-16 17:55:13 -07:00
Dirkjan Ochtman 0aa0b16e6e Fix clippy warnings in quinn-proto 2019-04-16 17:55:13 -07:00
Dirkjan Ochtman 851b6e296c Fix clippy errors 2019-04-16 17:55:13 -07:00
Dirkjan Ochtman 5f9a2213c3 Initial attempt at documenting public quinn-proto API 2019-04-16 16:47:28 +02:00
Benjamin Saunders 5d6ec3445e Draft 19 transport parameter encoding 2019-04-15 07:14:46 -07:00
Benjamin Saunders 227f8b3262 Fix stateless transmits 2019-04-14 12:01:27 +02:00
Benjamin Saunders adada8624b Fix panic on drop of rejected 0-RTT streams 2019-04-14 12:01:27 +02:00
Dirkjan Ochtman 7d71876689 Fix typo as suggested 2019-04-13 12:38:14 -07:00
Benjamin Saunders fab7522af0 Remove a gratuitous Box<[u8]>
Converting from Vec to Box will introduce an unnecessary copy if the
capacity is not exactly equal to the length.
2019-04-13 20:58:16 +02:00
Dirkjan Ochtman da5c97c3cd Split streams module out of quinn::connection 2019-04-13 20:58:16 +02:00
Benjamin Saunders 9ba0641866 Update README 2019-04-13 20:58:16 +02:00
Benjamin Saunders c10de33593 Test 0-RTT in interop tool 2019-04-13 20:58:16 +02:00
Benjamin Saunders f6ec7e8b33 Only set reset token on client handshake completion
0-RTT doesn't imply CID reuse, and servers never receive reset tokens
in transport parameters regardless.
2019-04-13 20:58:16 +02:00
Dirkjan Ochtman 2fb15b9a07 Add high-level API for 0-RTT support 2019-04-13 20:58:16 +02:00
Dirkjan Ochtman 784367f364 No longer need to extract driver on handover 2019-04-13 20:58:16 +02:00
Dirkjan Ochtman 97d38787fd Rename ConnectingFuture to Connecting 2019-04-13 20:58:16 +02:00
Dirkjan Ochtman 16e4b96f4b Simplify high-level streams API 2019-04-12 19:59:23 +02:00
Povilas Balciunas 84959a773b Add many connections to one endpoint test
Adds integration test for numerous connections concurrently
transmitting 1 MB of data.
2019-04-12 07:19:09 +02:00
Benjamin Saunders 4ba31453ca 3*PTO lower-bound for idle timeout 2019-04-12 07:18:34 +02:00
Benjamin Saunders 4857ea9202 Don't prematurely deem handshake packets lost
This was a misunderstanding of the draft.
2019-04-12 07:18:34 +02:00
Benjamin Saunders 0dfa1fbb70 More conservative handshake key discard timer
Protects against connection loss due to severe packet loss following
handshake completion, which could occur because the client must elicit
and receive an ACK of its handshake CFIN message before the server
discards the handshake keys.
2019-04-09 10:11:47 -07:00
Benjamin Saunders 237084787e Fix stateless reset routing 2019-04-09 10:11:47 -07:00
Benjamin Saunders e0f4177167 ResetToken type 2019-04-09 10:11:47 -07:00
Benjamin Saunders 0631950b33 Preserve original error when converting to io::Error 2019-04-08 07:12:21 +02:00
Benjamin Saunders 0428c8693d More consistent config filed naming 2019-04-08 07:12:21 +02:00
Benjamin Saunders 95b49ec0fe Fail connection attempts without an endpoint driver immediately 2019-04-08 07:12:21 +02:00