Commit Graph

2391 Commits

Author SHA1 Message Date
ssebo c0eaab79bb fix iOS setsockopt invalid params 2020-09-12 11:03:35 +02:00
DelusionalOptimist 751d660343 Fixed typo in quinn/examples/connection.rs 2020-09-09 16:42:35 +02:00
Cyril Plisko 4e819af57e Derive Debug for TlsSession and SessionKind
Fixes #841
2020-09-05 11:52:57 +02:00
Dirkjan Ochtman 2b78366cf0 Schedule CI run every Friday 2020-09-03 09:17:32 -07:00
Dirkjan Ochtman fe90ad8cf6 Increase type length limit for interop crate 2020-09-03 09:17:32 -07:00
Dirkjan Ochtman f212256435 Clean up warnings/errors 2020-09-03 09:17:32 -07:00
Imbris 35db51eb1a Reexport ReadUnordered 2020-08-23 20:41:33 +02:00
Jean-Christophe BEGUE babb07b079 H3: Wake connection on request finish 2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE 9594ba7ee3 H3: Refactor shutdown condition in h3 proto 2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE 9a79718779 H3: Prevent client to start new requests on shutdown 2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE b851934228 H3: Refactor GoAway mechanism to actually use the id 2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE 22200ae79e H3: store side information in proto::connection 2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE 0e5fe9b1b8 Make StreamId::new public
This is useful for calculating a GoAway(x) value without duplicating the
code.
2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE 0cdf96e921 H3: GoAway from client 2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE 878970b833 H3: Clarify connection end return value 2020-07-26 22:39:28 +02:00
Jean-Christophe BEGUE b940a3ae36 H3: tests log level from env 2020-07-26 22:39:28 +02:00
dependabot-preview[bot] 262ca3cb7f Update hex-literal requirement from 0.2.0 to 0.3.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.2.0...hex-literal-v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 10:08:43 +02:00
SSebo 2892490057 certificate: accept pem format (#829)
* certificate: accept pem format

* chore: fix format

Signed-off-by: ssebo <ssebo.zzz@gmail.com>
2020-07-18 08:07:12 +02:00
Dirkjan Ochtman 68570e518e Clean up new clippy warnings 2020-07-17 08:17:37 +02:00
Dirkjan Ochtman 59b39a6e02 Move PathData and related code into separate module 2020-07-06 13:49:59 -07:00
Dirkjan Ochtman df5cf4a251 Abstract PathData creation for migrations 2020-07-06 13:49:59 -07:00
Dirkjan Ochtman 69200e921f Add PathData::new() associated function 2020-07-06 13:49:59 -07:00
Dirkjan Ochtman d4153d9f0e Add more abstractions for PTO calculations 2020-07-06 13:49:59 -07:00
Dirkjan Ochtman e4246703e1 More abstract method for RTT calculations 2020-07-06 13:49:59 -07:00
Dirkjan Ochtman 7d1df2a682 Always try ECN on a new path 2020-07-06 13:49:59 -07:00
Demi M. Obenour 6018f20055 Don’t try to run code coverage on PRs
It won’t work, as those builds don’t have access to the CodeCov API
token.
2020-07-06 09:46:18 +02:00
Alexander Jackson 80653da2ca Add documentation links to improve navigation
Add documentation links and references to some of the main parts of the API so
that relevant structs, enums and methods can be navigated to more quickly. This
reduces the need for the search bar and thus makes it easier to find related
content wherever it is mentioned.
2020-07-06 09:46:06 +02:00
Benjamin Saunders 3339bc8f27 Correct default initial RTT 2020-07-06 07:45:27 +02:00
Dirkjan Ochtman 5a4d18f837 Upgrade to rustls-0.18 2020-07-05 23:05:33 +02:00
Benjamin Saunders 81e6c26c68 Deduplicate RTT fallback logic 2020-07-05 20:48:57 +02:00
Benjamin Saunders da09436105 Update PTO computation to match current recovery draft 2020-07-05 20:48:57 +02:00
Benjamin Saunders b612577c7c Update RTT estimation to match recovery draft 2020-07-05 20:48:57 +02:00
Benjamin Saunders 70cf90389e Respect initial RTT in RttEstimator 2020-07-05 20:48:57 +02:00
Alexander Jackson 5e62c3ffc2 Fix some broken documentation in quinn-h3
Fix some broken documentation links in quinn-h3 and clear up some ambiguity.
`SendRequest` does not yield a `SendData`, and only the `send_response()`
method on `server::Sender` will return one.
2020-06-30 20:19:27 +02:00
Alexander Jackson e342cc974e Fix some broken documentation links in quinn-proto
Fix some broken documentation links in quinn-proto and correctly direct them to
the enum variant they are referencing. These were raised by `cargo doc`.
2020-06-30 20:19:27 +02:00
Benjamin Saunders 48597c8f76 Use TRANSPORT_PARAMETER_ERRORs for CID authentication 2020-06-30 08:57:14 +02:00
Benjamin Saunders 58ac32d055 Rename SERVER_BUSY to CONNECTION_REFUSED 2020-06-30 08:57:14 +02:00
Benjamin Saunders 68922c07ea Draft 29 PTO logic 2020-06-30 08:57:14 +02:00
Benjamin Saunders 8ca2f04bf9 Track in-flight bytes per packet space 2020-06-30 08:57:14 +02:00
Benjamin Saunders 57160897fe Update names to match current pseudocode 2020-06-30 08:57:14 +02:00
Benjamin Saunders f2c4d35535 Clarify read_crypto logic 2020-06-30 08:57:14 +02:00
Benjamin Saunders a1e8c56cb0 Update initial salt, retry integrity key/nonce, and versions 2020-06-30 08:57:14 +02:00
Benjamin Saunders 7e023e3cd8 Document state predicates 2020-06-29 09:16:49 +02:00
Benjamin Saunders df7645047a Test rejection of client connections missing a required certificate 2020-06-29 09:16:49 +02:00
Benjamin Saunders bedcb42863 Detect spurious migrations
Defends against off-path forwarding attacks by sending PATH_CHALLENGE
on the previous path when migrating.
2020-06-29 09:14:58 +02:00
Benjamin Saunders 5d95eef10a Split up poll_transmit
Pull common packet construction logic out into a separate pair of
functions for ease of reuse.
2020-06-29 09:14:58 +02:00
Charles Hall 66f3c04814 add a way to get a static id for a quic connection
Since remote IP addresses can change, it's useful to have an independent
ID for a connection that is always the same.
quinn_proto::ConnectionHandle provides a mechanism for this, but
quinn::Connection has an Arc internally whose internal pointer can be
used as a unique identifier since acquiring the ConnectionHandle would
require locking a mutex.
2020-06-25 22:35:28 +02:00
Charles Hall 73fb027357 expose StreamId information from Send/RecvStream
If nothing else, this should make it easier to track goings-on in
streams in client code since they'll be able to easily distinguish
between streams via StreamId::index().
2020-06-25 22:35:28 +02:00
Dirkjan Ochtman 5484d37c76 Migrate to directories-next
directories is no longer being maintained and the final released version
causes a dependency conflict (cfg-if, versus tracing).
2020-06-22 14:46:13 +02:00
dependabot-preview[bot] 541448f79b Update ct-logs requirement from 0.6 to 0.7
Updates the requirements on [ct-logs](https://github.com/ctz/ct-logs) to permit the latest version.
- [Release notes](https://github.com/ctz/ct-logs/releases)
- [Commits](https://github.com/ctz/ct-logs/compare/v/0.6.0...v/0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-21 21:47:49 -07:00