Commit Graph

1474 Commits

Author SHA1 Message Date
stammw eab98c19f8 H3: move codecs to a new proto module 2019-06-07 20:13:27 +02:00
stammw 2053e564f4 H3: add QPACK Settings in h3::frame::Settings 2019-06-07 20:13:27 +02:00
Benjamin Saunders 10ecdfa791 Update README 2019-06-06 06:59:29 +02:00
Dirkjan Ochtman 33ea564055 Add ServerConfig::new() method for easier initialization 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 0e40f3aaeb Privatize contents of rustls config newtypes 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 32188d429f Add ClientConfig::new() method for use in interop 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman f9224017bd Use new config APIs in tests 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 4fd486862b Move rustls types and logic into proto::crypto::rustls 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 2254203e0f Parametrize protocol types with crypto implementations 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 2c5d5b0377 Expose crypto traits as part of the public API 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 16b1e2dbf4 Rename crypto traits in a uniform way 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman a5e9c7511a Remove dependency on rustls from ring crypto code 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 5968c29d15 Move key updating interface into CryptoSession trait 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 06e88ed7f2 Link up crypto trait implementations 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 704fb3c5b5 Split crypto module into interface, ring and rustls modules 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman a00de7894d Add local wrappers around rustls ClientConfig and ServerConfig 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman c4c632359f Tag rustls types explicitly in crypto module 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 7a588e151b Move Deref impls for TlsSession closer to definition 2019-06-04 19:50:57 +02:00
Dirkjan Ochtman 069c6067c6 Add trait for crypto keys 2019-06-04 19:50:57 +02:00
dependabot-preview[bot] eb213b2d3f Update directories requirement from 1.0.2 to 2.0.0
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)
2019-05-27 09:13:26 +02:00
Dirkjan Ochtman 6872fdaf51 Fix mutable_borrow_reservation_conflict warnings 2019-05-24 18:50:24 -07:00
Dirkjan Ochtman 104835e63e Move ACK_DELAY_EXPONENT into its only using module 2019-05-24 18:50:24 -07:00
Dirkjan Ochtman 6c62dcf7c1 Move ServerConfig and EndpointConfig into shared module 2019-05-24 18:50:24 -07:00
Dirkjan Ochtman 1036cd0854 Fix name in Streams::read_unordered()
A similar naming problem actually issued more flow credit than expected prior
to 4f0f39b9d3 in `Connection::read_unordered()`.
2019-05-22 07:32:30 +02:00
Dirkjan Ochtman 6b4a4af15a Build benchmarks in CI 2019-05-22 07:32:30 +02:00
Dirkjan Ochtman dc768ed968 Keep debug symbols around for benchmarks 2019-05-21 18:15:19 +02:00
Dirkjan Ochtman 658108729f Adapt to changes in unordered read API 2019-05-21 18:15:19 +02:00
Dirkjan Ochtman 4f0f39b9d3 Make stream finishing not an error 2019-05-21 08:29:43 -07:00
Dirkjan Ochtman eb6e769a2f Merge pull request #308 from djc/benchmark
Benchmark
2019-05-20 21:44:18 +02:00
Dirkjan Ochtman e25b55d2d7 Use dir as a shorthand name for Directionality 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman 1942c3b184 Rename stream module to streams 2019-05-20 21:44:11 +02:00
Benjamin Saunders ecada05adb Update comment for Streams::is_local_unopened() 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman b454098dd7 Keep separate maps for stream directions 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman 66aad0cc05 Move Stream initialization logic into Streams 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman bcba0092e1 Privatize the remaining Stream API 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman 2fe17541ba Simplify handling of direction in Streams methods 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman 68488ca698 Make creation of new streams more uniform 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman 3e59cd8511 Use directionality-indexed arrays to track streams state 2019-05-20 21:44:11 +02:00
Dirkjan Ochtman 5e023f8093 Make stream read API more Stream-like 2019-05-20 21:36:45 +02:00
Dirkjan Ochtman 7c35af9f04 Backport benchmarks from nightly branch 2019-05-20 21:25:38 +02:00
Dirkjan Ochtman 22c9a0136a Move space-related code into PacketSpace method 2019-05-20 21:25:33 +02:00
Dirkjan Ochtman f49de82658 Order dependencies 2019-05-20 21:25:24 +02:00
Dirkjan Ochtman 00f5b26d84 Handle stream cleanup after reading inside Streams 2019-05-19 13:59:53 -07:00
Dirkjan Ochtman dee6d6a1e1 Implement packet coalescing on outgoing packets 2019-05-18 22:07:32 +02:00
Benjamin Saunders 39db9e12e6 Simplify server handshake retransmit test
We can no longer trivially test anti-amplification, but a simplified
test for losing the server's initial flight is still useful.
2019-05-18 22:07:32 +02:00
Dirkjan Ochtman d9632138fe Rename Transmit::packet to contents 2019-05-18 22:07:32 +02:00
Dirkjan Ochtman 0ddce80652 Initialize datagram buffer with MTU-sized allocation 2019-05-18 22:07:32 +02:00
Dirkjan Ochtman 8e60871454 Set the connection's remote as the default 2019-05-18 22:07:32 +02:00
Dirkjan Ochtman b9649ceab7 Keep space order intact and filter in one go 2019-05-18 22:07:32 +02:00
Dirkjan Ochtman c739bd8cf1 Check space-independent amplification prevention first 2019-05-18 22:07:32 +02:00