Benjamin Saunders
a2b5a4ac5e
Update default h3 port
0.6.1
2020-04-02 06:35:50 +02:00
Benjamin Saunders
8af413cbe6
Simplify listen address configuration impl details
2020-04-02 06:35:50 +02:00
Benjamin Saunders
2e49daaf9b
Don't use DNS in server::Builder::listen
...
DNS doesn't make sense when specifying a local address.
2020-04-02 06:35:50 +02:00
Benjamin Saunders
3a71f052ce
Validate max UDP payload size transport parameter
2020-04-01 21:27:43 +02:00
Benjamin Saunders
5c6ba715e1
Update max_packet_size parameter to current name
2020-04-01 21:27:43 +02:00
Benjamin Saunders
92042be56d
Bump versions
2020-03-31 12:51:41 -07:00
Benjamin Saunders
b405b1c176
Test server response on client-initiated bidirectional streams
2020-03-31 12:51:41 -07:00
Benjamin Saunders
3c44100a3e
Fix initial data limit for remotely initiated bidirectional streams
...
Although we were correctly setting the data limit for the send half of
initially-available remotely-initiated bidirectional streams, we
neglected to apply the limit to streams made available by stream ID
flow control updates. As a result, the application would be
erroneously prevented from writing to the send half of bidirectional
streams opened by the peer after the initial stream_window_bidi
streams.
2020-03-31 12:51:41 -07:00
Benjamin Saunders
e0319215b7
Lighten tracing-subscriber
...
Omitting json logging gets serde out of our dev-dependency closure
2020-03-31 13:20:30 +02:00
Benjamin Saunders
0a62e093a6
Replace criterion with bencher
2020-03-31 13:20:30 +02:00
stammw
8bcca95304
H3: end to end GoAway implementation
2020-03-24 15:33:31 +01:00
stammw
4068d3fad2
H3: rework Errors, easy to handle HttpError enum
2020-03-24 15:33:31 +01:00
stammw
1be67f2597
H3: end to end response cancellation impl
2020-03-24 15:33:31 +01:00
stammw
14f523019d
H3: activate qpack everywhere
2020-03-24 15:33:31 +01:00
stammw
0e874850e9
QPACK: ignore unknown stream cancellation
2020-03-24 15:33:31 +01:00
stammw
a2445933a6
H3: simplify complex destructurings
2020-03-23 12:40:32 +01:00
stammw
5e03cd935f
H3: 0-RTT implementation
2020-03-23 12:40:32 +01:00
stammw
f540176e99
Make it easier to enable 0-RTT / TLS early data
2020-03-23 12:40:32 +01:00
stammw
76efa13cbd
Ignore meaningless accepted_0rtt on server.
...
So `check_0rtt()` doesn't fail when called after handshake completed on server.
2020-03-23 12:40:32 +01:00
stammw
852bd26b45
Let the user know if an incoming bi is 0-RTT
2020-03-23 12:40:32 +01:00
stammw
67f7649f82
H3: serve_one return its error instead of panic
2020-03-23 12:40:32 +01:00
stammw
c1e4d86d0d
H3: reword comment
2020-03-23 12:40:32 +01:00
stammw
02a44108f4
H3: join timeout helper
2020-03-23 12:40:32 +01:00
stammw
b265648078
H3: request build helper macros for tests
2020-03-23 12:40:32 +01:00
stammw
bf0dd08024
H3: make connection constructors infaillible
2020-03-23 12:40:32 +01:00
stammw
394cc8a7f2
H3: fix hidden warning
2020-03-23 12:40:32 +01:00
Benjamin Saunders
1101f4b60e
Fix bug that retired active CID on duplicate NEW_CONNECTION_ID
...
CidQueue was erroneously considering the sequence number prior to its
contents to be retired.
2020-03-23 09:26:24 +01:00
Benjamin Saunders
c1198a8bba
Fix overly pessimistic limit to issued CIDs
...
The peer's use of a preferred address transport parameter does not
impact the number of *our* conneciton IDs that it's willing to
store. We don't support issuing preferred address TPs, so our
initially active CID count is always exactly 1.
2020-03-23 09:26:24 +01:00
stammw
69bc32d9e4
Retry port for the interop server
2020-03-19 22:05:02 +01:00
stammw
6f1d361dbf
H3: Re-enable h3 async tests after busy-loop fix.
2020-03-17 10:24:28 +01:00
Benjamin Saunders
b73bb8553a
Push remaining non-timeout Instant::now call downward
2020-03-17 07:08:36 +01:00
Benjamin Saunders
019ed88891
Fix busy-hang when tokio and proto disagree on timer expiry
...
Obtaining a fresh `now` on every iteration ensures that if tokio
checks timer completion using a later time than we do, we'll
eventually catch up and deem it expired as well rather than infinitely
restarting it.
2020-03-17 07:08:36 +01:00
stammw
3ee1d24fe5
Rename interop server
2020-03-16 20:55:03 +01:00
stammw
66e13e60b9
Interop: parse size from full path
2020-03-16 20:55:03 +01:00
stammw
134dfc2f72
HQ implementation for interop server
2020-03-16 20:55:03 +01:00
stammw
7479181263
Let the user get requested ALPN on connecting
2020-03-16 20:55:03 +01:00
stammw
dd00b37fe8
Create H3 connecting from quic
2020-03-16 20:55:03 +01:00
Dirkjan Ochtman
b186debf65
Remove obsolete Travis CI badge for quinn-h3
2020-03-14 22:26:57 +01:00
Benjamin Saunders
8aa6066103
Remove obsolete azure pipelines badge
2020-03-14 22:16:33 +01:00
Benjamin Saunders
d1885b6302
Reduce maximum remote CID count stored
...
Using a limit smaller than that which we're willing to offer makes
errors more obvious, and it's unclear if there's any upside to larger
quantities.
2020-03-14 19:30:30 +01:00
Benjamin Saunders
616bae83e4
Fix issuing of excess CIDs
2020-03-14 19:30:30 +01:00
Benjamin Saunders
0f5b851189
Factor CID queue out of Connection
2020-03-14 19:30:30 +01:00
Benjamin Saunders
a2899c6c7d
Mention application datagrams in README
2020-03-14 13:57:21 +01:00
Benjamin Saunders
e443c6dee3
Account for active CIDs when initially issuing new ones
0.6.0
2020-03-12 19:38:07 +01:00
Dirkjan Ochtman
47f58b4468
Fix clippy suggestion
2020-03-12 19:23:52 +01:00
Dirkjan Ochtman
67f448c553
Bump rcgen to 0.8 to avoid duplicate dependency
2020-03-12 19:23:52 +01:00
Dirkjan Ochtman
399faf54ce
Add auditing to CI based on cargo-deny
2020-03-12 19:23:52 +01:00
Dirkjan Ochtman
31eef2910c
Bump quinn/quinn-proto versions to 0.6.0
2020-03-12 19:23:52 +01:00
Benjamin Saunders
cb9bdc7063
Send connection IDs in-order
...
Friendlier to simple sliding window implementations such as our own.
2020-03-12 12:55:31 +01:00
Benjamin Saunders
22d7136aff
Reduce number of CIDs we store closer to specified minimum of 2
2020-03-12 12:55:31 +01:00