Skip to content

Set MBEDTLS_SSL_OUT_CONTENT_LEN to a smaller value to avoid client side record overflow #294

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
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mbedtls-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mbedtls-sys-auto"
version = "3.5.0-alpha.2+0b3de6f"
version = "3.5.0-alpha.3+0b3de6f"
authors = ["Jethro Beekman <[email protected]>"]
build = "build/build.rs"
license = "Apache-2.0 OR GPL-2.0-or-later"
Expand Down
2 changes: 2 additions & 0 deletions mbedtls-sys/build/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ pub const FEATURE_DEFINES: &'static [(&'static str, CDefine)] = &[
("tls13", ("MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE", DefinedAs("6000"))),
("tls13", ("MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH", DefinedAs("32"))),
("tls13", ("MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS", DefinedAs("1"))),
// TODO: This is a temporary fix for issue: #293
("tls13", ("MBEDTLS_SSL_OUT_CONTENT_LEN", DefinedAs("15360"))),
];

#[cfg_attr(rustfmt, rustfmt_skip)]
Expand Down