Commit Graph

2417 Commits

Author SHA1 Message Date
Wenjie Li 4bdfc3111d Minor api and doc change 2020-10-03 13:29:11 +02:00
liwenjieQu 0853957199 Update quinn-proto/src/endpoint.rs
Co-authored-by: Benjamin Saunders <ben.e.saunders@gmail.com>
2020-10-03 13:29:11 +02:00
liwenjieQu 542532ec36 Update quinn-proto/src/config.rs
Co-authored-by: Benjamin Saunders <ben.e.saunders@gmail.com>
2020-10-03 13:29:11 +02:00
liwenjieQu 1eb3c0525f Update quinn-proto/src/config.rs
Co-authored-by: Benjamin Saunders <ben.e.saunders@gmail.com>
2020-10-03 13:29:11 +02:00
Wenjie Li f4ea3681cf Resolve lint issue by using trait object 2020-10-03 13:29:11 +02:00
Wenjie Li 9b0d75658d Minor formatting change 2020-10-03 13:29:11 +02:00
Wenjie Li d7ad7cb967 Rework cid generator doc 2020-10-03 13:29:11 +02:00
Wenjie Li e098d83d0b Move cid generator to a module and export trait 2020-10-03 13:29:11 +02:00
Wenjie Li 872076591c Add a setter for cid generator in EndpointConfig 2020-10-03 13:29:11 +02:00
Wenjie Li b6f89afd88 Support customized Cid generation 2020-10-03 13:29:11 +02:00
kwantam 81d326a0f6 export_keying_material to its own test 2020-09-29 09:35:14 +02:00
kwantam c9040993ce fmt 2020-09-29 09:35:14 +02:00
kwantam b2fa08adbe ExportKeyingMaterialError zst 2020-09-29 09:35:14 +02:00
kwantam 037f1a6666 respond to @ralith's review 2020-09-29 09:35:14 +02:00
kwantam c9cef3fada doc comment: Error -> ExportKeyingMaterialError 2020-09-29 09:35:14 +02:00
kwantam c365013b07 minor format fix 2020-09-29 09:35:14 +02:00
kwantam 3601881e7b fix tests on stable rustc 2020-09-29 09:35:14 +02:00
kwantam ee6f7d01f2 pin all crates with rustls as transitive dep
this is necessary for export_keying_material to work;
can be undone once rustls pushes a new version of the crates.
2020-09-29 09:35:14 +02:00
kwantam bc1c1a7e0e quinn-proto: merge ExportKeyingMaterial trait into Session 2020-09-29 09:35:14 +02:00
kwantam 363b3539ac quinn: test export_keying_material 2020-09-29 09:35:14 +02:00
kwantam 8c8fb0815c plumb export_keying_material from quinn-proto to quinn 2020-09-29 09:35:14 +02:00
kwantam 9446aabd50 add ExportKeyingMaterial trait and impl/test for TlsSession 2020-09-29 09:35:14 +02:00
Demi M. Obenour 8e09d3befe Implement pacing
This implements pacing as suggested by the latest RFC draft.  It also
attempts to batch packets wherever possible.
2020-09-27 13:15:39 -07:00
Benjamin Saunders 9eb76ee6bb Fix panic on malformed short header 2020-09-25 13:43:41 +02:00
Benjamin Saunders d72bc0fc6f Remove obsolete mention of connection driver 2020-09-25 13:43:41 +02:00
jafow c054fb36cb Fuzzing: adds target for streams type. 2020-09-21 09:36:17 +02:00
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