Daniel McCarney
d1345fc39a
Cargo: bump version v0.20.8 -> v0.20.9.
2023-08-28 17:34:28 -04:00
Daniel McCarney
ba13bb5339
Cargo: bump MSRV 1.57 -> 1.60.
...
Log recently did this.
2023-08-28 17:34:28 -04:00
Smaug123
22b8f70cf8
Remove calls to PhantomData::default
2023-08-28 17:34:28 -04:00
Joseph Birr-Pixton
aae5f19c85
client: detect HRR with incorrect session_id
...
See comment for justification from RFC.
2023-08-28 17:34:28 -04:00
Joseph Birr-Pixton
43fb7be823
Regression test for echoing session id in HRR
2023-08-28 17:34:28 -04:00
Joseph Birr-Pixton
5e34398dcf
server: echo client's session_id in HRR
2023-08-28 17:34:28 -04:00
Joseph Birr-Pixton
9b5bb50d9d
Prepare 0.20.8
2023-01-12 16:14:22 +00:00
Joseph Birr-Pixton
d4cf46404f
Use the enums exposed in 5dab6ed6
in tests
2023-01-12 16:14:22 +00:00
Jacob Rothstein
cba4d0c0f6
add a README for BoGo
2023-01-12 10:22:37 +01:00
Jacob Rothstein
b177e4cac2
move doc(cfg(feature = …)) to original definitions ( #1156 )
2023-01-11 16:26:46 -08:00
Jacob Rothstein
5681b44f92
use saturating add in ticket expiration
2023-01-11 22:55:06 +01:00
Jacob Rothstein
be7b159ca6
update msrv to 1.57
2023-01-11 18:09:21 +01:00
Jacob Rothstein
857aab52fa
move benchmarks to benches directory
2023-01-07 10:10:46 +00:00
Dirkjan Ochtman
9b4ace0b5a
tls12: remove nested conditional compilation attributes
2023-01-05 13:22:04 +01:00
Dirkjan Ochtman
aed5d9c334
hsjoiner: inline single-use parse_message() function
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
9e657be6b9
hsjoiner: simplify awkward message type checking API
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
279f88fb26
hsjoiner: lazily parse messages from the handshake joiner
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
326a6147f2
hsjoiner: remove unused Default impl
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
3356e3c705
hsjoiner: abstract over implementation details
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
ec73ad6856
hsjoiner: extract deframe_one() into parse_message() function
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
33e269d258
hsjoiner: extract buf_contains_message() into payload_size() function
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
5a61653006
hsjoiner: get rid of unnecessary nested scope
2023-01-05 08:41:51 +01:00
Dirkjan Ochtman
dbbb4eafc0
hsjoiner: clarify the return type for take_message()
2023-01-05 08:41:51 +01:00
Joseph Birr-Pixton
6087246dbf
Measure coverage using cargo-llvm-cov
...
This deletes quite a bit of ad-hoc scripting that is
replaced by llvm-cov.
2022-12-31 13:23:01 +00:00
Brian Smith
6da1d8d711
Server: Change `Acceptor` to only allow one attempt per ClientHello.
...
When we encounter an error processing the client hello, don't try again.
Trying again generally won't do any good. This matches `Future::poll`
semantics (Futures shouldn't be polled after yielding `Ready`).
2022-12-22 11:49:27 +01:00
Joseph Birr-Pixton
425c6c2443
Fix clippy nightly nits
2022-11-27 08:12:39 -08:00
Tristan
eaa47e382e
Add links to the examples in the documentation
2022-11-24 09:46:46 -08:00
Dirkjan Ochtman
ea99a6bc39
Add note in the changelog
2022-11-16 13:28:39 +01:00
Dirkjan Ochtman
5a92f905b9
Add test coverage for received plaintext backpressure
2022-11-16 13:28:39 +01:00
Dirkjan Ochtman
ad61765e7e
Exert backpressure when the received_plaintext buffer is full
2022-11-16 13:28:39 +01:00
Dirkjan Ochtman
7eb328d6eb
bench: read out plain text buffer more regularly
2022-11-16 13:28:39 +01:00
Dirkjan Ochtman
66ce7f5634
Clarify/update documentation for ConnectionCommon::read_tls()
2022-11-16 13:28:39 +01:00
Dirkjan Ochtman
8495c0a8f2
Upgrade CI to test ubuntu-20.04 instead of 18.04
...
GitHub is removing the 18.04 environment soon.
2022-11-06 08:03:54 +01:00
Dirkjan Ochtman
a09d3682fe
Reenable unreachable_pub lint
...
The rustc regression was reverted.
2022-11-06 08:02:55 +01:00
trinity-1686a
1c45c03935
fix incorrect deprecation message
2022-11-02 11:20:01 +01:00
Francis Russell
e94803513f
Update README after running `pull-usage`.
2022-10-31 10:21:28 +01:00
Francis Russell
4e6fe619c1
Update `pull-usage` script.
2022-10-31 10:21:28 +01:00
Francis Russell
20903dd226
Update README to fix `tlsserver-mio` naming.
2022-10-31 10:21:28 +01:00
Francis Russell
0e07a40c7f
Update `tlsserver-mio` usage.
2022-10-31 10:21:28 +01:00
Francis Russell
88fb4b8222
Update README to fix `tlslient-mio` naming.
2022-10-31 10:21:28 +01:00
Francis Russell
aa7e96ec82
Update `tlsclient-mio` usage.
2022-10-31 10:21:28 +01:00
Dirkjan Ochtman
a9f80ec516
deframer: extend test coverage
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
b6e8478383
deframer: add test for large buffer writes
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
53db60f996
deframer: buffer plain bytes, parse on processing
...
This avoids buffering a large number of messages.
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
489bbdc1b6
bench: call process_new_packets() for every successful read_tls() call
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
0f49db467c
deframer: avoid unnecessary copies when deframing multiple messages
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
0289e1a9bd
deframer: inline single-use function try_deframe_one()
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
9227e2c6c1
deframer: inline single-use function buf_consume()
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
54354c66ab
deframer: abstract over internal state
2022-10-23 10:58:48 +02:00
Dirkjan Ochtman
a863fc554a
Bump version to 0.20.7
2022-10-18 15:20:45 +02:00