Skip to content

Prepare 0.23.24 #2383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2025
Merged

Prepare 0.23.24 #2383

merged 1 commit into from
Mar 17, 2025

Conversation

ctz
Copy link
Member

@ctz ctz commented Mar 15, 2025

ref rustls/rustls-platform-verifier#163

Proposed release notes:

  • New feature: More detailed and helpful error reporting for common certificate errors, such as name mismatches and certificate expiry. Users who std::fmt::Display the rustls Error type will take advantage of this automatically. Users handling CertificateError variants individually should note the new variants, such as CertificateError::NotValidForNameContext (compare CertificateError::NotValidForName).

    $ cargo -q run --bin tlsclient-mio -- --http wrong.host.badssl.com
    TLS error: invalid peer certificate: certificate not valid for name "wrong.host.badssl.com";
    certificate is only valid for DnsName("*.badssl.com") or DnsName("badssl.com")
    Connection closed

    The old CertificateError variants (such as NotValidForName, Expired, etc.) remain usable, and may be produced by both the default and third-party certificate verification traits.

  • New feature: Allow KTLS handoff for unbuffered API users, by introducing dangerous_extract_secrets(). Thanks to @edef1c.

  • Bug fix: Unbuffered connections now consume data during the next_record() function, rather than production of the state. This fixes unbuffered: No way to refuse a ReadTraffic if there is no space #2031.

  • Bug fix: Build speed improvement for aws-lc-rs fips users.

  • Behavior change: Clients no longer offer resumption between different ClientConfigs that share a resumption store but do not share server certificate verification and client authentication credentials. If you share a resumption store between multiple ClientConfigs, please ensure their server certificate verification and client authentication credentials are also shared. Please read the new documentation on the ClientConfig::resumption item for details.

    Additionally, if you share a resumption store or ticketer between multiple ServerConfigs, please see the new documentation on ServerConfig about this.

Copy link

rustls-benchmarking bot commented Mar 15, 2025

Benchmark results

Instruction counts

Significant differences

There are no significant instruction count differences

Other differences

Click to expand
Scenario Baseline Candidate Diff Threshold
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_aes_client 8298758 8331496 32738 (0.39%) 0.95%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_aes_server 1149181 1145007 -4174 (-0.36%) 1.57%
handshake_no_resume_aws_lc_rs_1.2_rsa_aes_server 10504191 10480754 -23437 (-0.22%) 0.88%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_aes_client 3101937 3096769 -5168 (-0.17%) 0.52%
handshake_no_resume_aws_lc_rs_1.3_rsa_aes_server 10708854 10724193 15339 (0.14%) 1.22%
handshake_no_resume_aws_lc_rs_1.3_rsa_chacha_server 10735945 10724903 -11042 (-0.10%) 1.87%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_client 8319871 8328195 8324 (0.10%) 1.09%
handshake_no_resume_ring_1.3_ecdsap256_chacha_client 3303384 3305530 2146 (0.06%) 0.28%
handshake_no_resume_ring_1.3_ecdsap256_aes_client 3304036 3301899 -2137 (-0.06%) 0.26%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_server 2064474 2064777 303 (0.01%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_server 1147239 1147294 55 (0.00%) 1.54%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_client 3099627 3099770 143 (0.00%) 0.57%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_chacha_client 27805285 27805577 292 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_chacha_client 28209116 28208830 -286 (-0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap256_chacha_server 1297319 1297306 -13 (-0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_rsa_chacha_client 1934305 1934320 15 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_chacha_server 28747754 28747949 195 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_aes_client 27867079 27867237 158 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_chacha_client 28204790 28204937 147 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_aes_client 27864608 27864739 131 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_aes_server 28828593 28828720 127 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_aes_server 28828700 28828826 126 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_chacha_server 30226406 30226533 127 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_aes_client 28231726 28231838 112 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_chacha_server 30223904 30224023 119 (0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap256_aes_server 1296126 1296121 -5 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_chacha_client 27812253 27812160 -93 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_aes_server 30266640 30266544 -96 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_aes_server 28826099 28826021 -78 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_chacha_client 28202055 28201984 -71 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_chacha_client 27807664 27807734 70 (0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.2_rsa_aes_client 1719438 1719434 -4 (-0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_aes_server 2061632 2061636 4 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_aes_server 30269053 30269107 54 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_chacha_server 28750578 28750539 -39 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_aes_client 28238628 28238599 -29 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_chacha_server 28750319 28750295 -24 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_aes_client 27871628 27871610 -18 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_aes_client 28234777 28234789 12 (0.00%) 0.20%
transfer_no_resume_ring_1.2_rsa_aes_server 46198587 46198576 -11 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_aes_server 46292203 46292212 9 (0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap384_aes_client 34741941 34741947 6 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_aes_client 58120632 58120623 -9 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_aes_server 30269335 30269339 4 (0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap384_chacha_client 34743658 34743662 4 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_chacha_server 80548536 80548545 9 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_chacha_client 92657581 92657591 10 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.2_rsa_aes_server 46407678 46407683 5 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.2_rsa_aes_client 58164110 58164116 6 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_server 80642622 80642629 7 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_aes_server 46298945 46298941 -4 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_client 92697219 92697227 8 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_aes_server 46458945 46458941 -4 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_aes_client 58233867 58233862 -5 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_aes_server 46461274 46461271 -3 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_aes_server 46302455 46302457 2 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_chacha_client 92666720 92666724 4 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_chacha_server 80553348 80553345 -3 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_aes_client 58231627 58231629 2 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_server 80650252 80650254 2 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_client 92694991 92694993 2 (0.00%) 0.20%
transfer_no_resume_ring_1.2_rsa_aes_client 58022342 58022341 -1 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_aes_client 58127835 58127836 1 (0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_aes_client 58131604 58131603 -1 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_aes_client 58236039 58236040 1 (0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_chacha_server 80541811 80541810 -1 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_chacha_server 80645594 80645595 1 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_chacha_client 92701322 92701323 1 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_chacha_client 31167567 31167567 0 (0.00%) 0.20%
handshake_no_resume_ring_1.2_rsa_aes_server 11000256 11000256 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_aes_client 31238757 31238757 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_aes_server 32124769 32124769 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_aes_client 30943476 30943476 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_chacha_client 30856342 30856342 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_chacha_client 2339383 2339383 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_aes_client 2333733 2333733 0 (0.00%) 0.20%
handshake_tickets_ring_1.2_rsa_aes_server 4770422 4770422 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_chacha_client 31174910 31174910 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_aes_client 31242173 31242173 0 (0.00%) 0.20%
handshake_no_resume_ring_1.2_rsa_aes_client 2246009 2246009 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_chacha_server 32003220 32003220 0 (0.00%) 0.20%
handshake_session_id_ring_1.2_rsa_aes_client 4321822 4321822 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_aes_server 32568970 32568970 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_aes_server 11128698 11128698 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_chacha_server 32469582 32469582 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_chacha_client 30852246 30852246 0 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_chacha_server 30226572 30226572 0 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.2_rsa_aes_server 5020822 5020822 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_chacha_server 32469616 32469616 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_aes_client 31246121 31246121 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap384_aes_server 7227756 7227756 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_chacha_server 32000650 32000650 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_chacha_server 32003149 32003149 0 (0.00%) 0.20%
handshake_tickets_ring_1.2_rsa_aes_client 4585153 4585153 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_aes_server 32571496 32571496 0 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.2_rsa_aes_client 3890211 3890211 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_aes_client 30940531 30940531 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap384_chacha_server 7229716 7229716 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_aes_server 32571507 32571507 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_aes_server 32124840 32124840 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_chacha_server 11134460 11134460 0 (0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_chacha_client 92668572 92668572 0 (0.00%) 0.20%
handshake_session_id_ring_1.2_rsa_aes_server 4305728 4305728 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_chacha_client 30849301 30849301 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_chacha_server 32467045 32467045 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_aes_client 30947572 30947572 0 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.2_rsa_aes_client 4233042 4233042 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_aes_server 32122270 32122270 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_chacha_client 31170962 31170962 0 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.2_rsa_aes_server 3873525 3873525 0 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_aes_server 46465929 46465929 0 (0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_rsa_aes_client 1927555 1927555 0 (0.00%) 0.20%

Wall-time

Significant differences

There are no significant wall-time differences

Other differences

Click to expand
Scenario Baseline Candidate Diff Threshold
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_aes 4.44 ms 4.57 ms 0.13 ms (2.89%) 6.03%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_aes 5.13 ms 5.26 ms 0.13 ms (2.47%) 5.29%
transfer_no_resume_aws_lc_rs_1.3_rsa_aes 5.11 ms 5.24 ms 0.12 ms (2.41%) 4.81%
transfer_no_resume_ring_1.3_ecdsap256_aes 5.41 ms 5.53 ms 0.12 ms (2.23%) 4.95%
transfer_no_resume_aws_lc_rs_1.2_rsa_aes 5.05 ms 5.16 ms 0.11 ms (2.10%) 5.02%
transfer_no_resume_ring_1.3_rsa_aes 5.91 ms 6.03 ms 0.12 ms (2.02%) 4.31%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_chacha 449.93 µs 458.54 µs 8.62 µs (1.92%) 3.53%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_aes 452.81 µs 460.16 µs 7.35 µs (1.62%) 3.56%
transfer_no_resume_ring_1.2_rsa_aes 5.83 ms 5.93 ms 0.09 ms (1.62%) 3.94%
handshake_no_resume_ring_1.3_ecdsap256_chacha 471.60 µs 478.27 µs 6.67 µs (1.41%) 3.19%
transfer_no_resume_ring_1.3_ecdsap384_aes 8.53 ms 8.65 ms 0.12 ms (1.39%) 2.92%
handshake_no_resume_ring_1.3_ecdsap256_aes 478.07 µs 484.63 µs 6.56 µs (1.37%) 3.25%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_chacha 12.91 ms 13.04 ms 0.13 ms (1.00%) 2.06%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_chacha 13.60 ms 13.73 ms 0.13 ms (0.93%) 1.75%
transfer_no_resume_ring_1.3_ecdsap256_chacha 12.92 ms 13.04 ms 0.12 ms (0.92%) 1.95%
transfer_no_resume_aws_lc_rs_1.3_rsa_chacha 13.59 ms 13.71 ms 0.12 ms (0.91%) 1.77%
transfer_no_resume_ring_1.3_rsa_chacha 13.41 ms 13.53 ms 0.12 ms (0.89%) 1.76%
handshake_tickets_aws_lc_rs_1.2_rsa_aes 1.81 ms 1.82 ms 0.01 ms (0.75%) 2.11%
transfer_no_resume_ring_1.3_ecdsap384_chacha 16.04 ms 16.15 ms 0.12 ms (0.72%) 1.48%
handshake_no_resume_ring_1.2_rsa_aes 962.46 µs 968.71 µs 6.25 µs (0.65%) 1.46%
handshake_no_resume_ring_1.3_rsa_aes 973.15 µs 979.36 µs 6.21 µs (0.64%) 1.14%
handshake_no_resume_aws_lc_rs_1.2_rsa_aes 1.08 ms 1.09 ms 0.01 ms (0.64%) 3.71%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_chacha 1.13 ms 1.14 ms 0.01 ms (0.59%) 1.05%
handshake_no_resume_ring_1.3_rsa_chacha 973.35 µs 978.90 µs 5.55 µs (0.57%) 1.22%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_aes 1.14 ms 1.15 ms 0.01 ms (0.57%) 1.56%
handshake_no_resume_aws_lc_rs_1.3_rsa_chacha 1.12 ms 1.12 ms 0.01 ms (0.53%) 1.29%
handshake_no_resume_aws_lc_rs_1.3_rsa_aes 1.11 ms 1.12 ms 0.01 ms (0.49%) 2.22%
handshake_tickets_ring_1.2_rsa_aes 1.65 ms 1.66 ms 0.01 ms (0.46%) 1.45%
handshake_session_id_ring_1.2_rsa_aes 1.57 ms 1.58 ms 0.01 ms (0.43%) 1.25%
handshake_session_id_aws_lc_rs_1.2_rsa_aes 1.64 ms 1.64 ms 0.01 ms (0.39%) 2.39%
handshake_session_id_ring_1.3_rsa_aes 6.37 ms 6.38 ms 0.01 ms (0.22%) 1.00%
handshake_tickets_ring_1.3_rsa_aes 6.29 ms 6.30 ms 0.01 ms (0.20%) 1.00%
handshake_session_id_ring_1.3_rsa_chacha 6.00 ms 6.01 ms 0.01 ms (0.20%) 1.00%
handshake_session_id_aws_lc_rs_1.3_rsa_aes 4.98 ms 4.97 ms -0.01 ms (-0.19%) 1.27%
handshake_tickets_ring_1.3_ecdsap256_aes 5.78 ms 5.79 ms 0.01 ms (0.19%) 1.00%
handshake_session_id_ring_1.3_ecdsap256_aes 5.87 ms 5.88 ms 0.01 ms (0.18%) 1.00%
handshake_session_id_ring_1.3_ecdsap256_chacha 5.52 ms 5.53 ms 0.01 ms (0.18%) 1.00%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_aes 4.31 ms 4.30 ms -0.01 ms (-0.18%) 1.50%
handshake_tickets_ring_1.3_ecdsap256_chacha 5.57 ms 5.58 ms 0.01 ms (0.16%) 1.00%
handshake_tickets_ring_1.3_rsa_chacha 6.06 ms 6.07 ms 0.01 ms (0.16%) 1.00%
handshake_no_resume_ring_1.3_ecdsap384_aes 3.60 ms 3.60 ms 0.01 ms (0.14%) 1.00%
handshake_no_resume_ring_1.3_ecdsap384_chacha 3.59 ms 3.60 ms 0.00 ms (0.13%) 1.00%
handshake_tickets_aws_lc_rs_1.3_rsa_aes 5.17 ms 5.16 ms -0.01 ms (-0.13%) 1.41%
handshake_session_id_ring_1.3_ecdsap384_chacha 8.63 ms 8.63 ms 0.01 ms (0.10%) 1.00%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_aes 4.99 ms 4.99 ms -0.01 ms (-0.10%) 1.00%
handshake_tickets_ring_1.3_ecdsap384_aes 8.90 ms 8.91 ms 0.01 ms (0.10%) 1.00%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_aes 5.19 ms 5.18 ms -0.00 ms (-0.07%) 1.29%
handshake_tickets_aws_lc_rs_1.3_rsa_chacha 5.16 ms 5.15 ms -0.00 ms (-0.06%) 1.29%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_aes 4.50 ms 4.49 ms -0.00 ms (-0.06%) 1.60%
handshake_session_id_ring_1.3_ecdsap384_aes 8.99 ms 8.99 ms 0.00 ms (0.06%) 1.00%
handshake_session_id_aws_lc_rs_1.3_rsa_chacha 4.95 ms 4.95 ms -0.00 ms (-0.05%) 1.00%
handshake_tickets_ring_1.3_ecdsap384_chacha 8.68 ms 8.69 ms 0.00 ms (0.04%) 1.00%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_chacha 4.94 ms 4.94 ms -0.00 ms (-0.03%) 1.08%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_chacha 4.46 ms 4.46 ms -0.00 ms (-0.01%) 1.38%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_chacha 4.27 ms 4.27 ms -0.00 ms (-0.01%) 1.65%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_chacha 5.14 ms 5.14 ms -0.00 ms (-0.01%) 1.29%

Additional information

Historical results

Checkout details:

Copy link

codecov bot commented Mar 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.16%. Comparing base (70e2b1c) to head (1213a3d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2383   +/-   ##
=======================================
  Coverage   96.16%   96.16%           
=======================================
  Files          94       94           
  Lines       22814    22814           
=======================================
  Hits        21939    21939           
  Misses        875      875           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I went through the commits since .23 and didn't spot anything that felt relevant that wasn't covered.

Users handling CertificateError variants individually should note the new variants, such as CertificateError::NotValidForNameContext (compare CertificateError::NotValidForName).

Is there more to say about the purpose of CertificateError::NotValidForName now that the Context variant exists? Is it retained for semver purposes only or can it still be emitted? It looks to me like the former but I only did a quick scan.

Behavior change: Clients no longer offer resumption between different ClientConfigs that share a resumption store ....

WDYT about using this as an opportunity to make a small note about how this should also be considered for reusing server configs with some of the text from #2381 ?

@ctz
Copy link
Member Author

ctz commented Mar 17, 2025

Is there more to say about the purpose of CertificateError::NotValidForName now that the Context variant exists? Is it retained for semver purposes only or can it still be emitted? It looks to me like the former but I only did a quick scan.

Added a note -- I think the answer is that all the previous variants remain both for semver reasons but also for non-webpki verifiers (eg, platform-verifier) which I expect will continue to use them.

WDYT about using this as an opportunity to make a small note about how this should also be considered for reusing server configs with some of the text from #2381 ?

Added a reference for this.

@ctz ctz added this pull request to the merge queue Mar 17, 2025
Merged via the queue into main with commit 3ab8a8e Mar 17, 2025
62 checks passed
@ctz ctz deleted the jbp-prepare-0.23.24 branch March 17, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unbuffered: No way to refuse a ReadTraffic if there is no space
3 participants