Revert "Disable TLS session ticket for DTLS"
This reverts commit e77d75193f4f61cf90991569c5470ba5d1b78f2b. Reason for revert: Speculative rollback (breaks downstream test). Original change's description: > Disable TLS session ticket for DTLS > > since it makes no sense for the WebRTC usage of DTLS and increases > the size of the last handshake flight considerably > Guarded by killswitch > WebRTC-DisableTlsSessionTicketKillswitch > > BUG=webrtc:367181089 > > Co-authored-by: Jody Ho <jodyho@meta.com> > Change-Id: I4bb17bba8a17c65c8e0fefe2d8962974703feee7 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362526 > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > Reviewed-by: David Benjamin <davidben@webrtc.org> > Commit-Queue: Philipp Hancke <phancke@meta.com> > Cr-Commit-Position: refs/heads/main@{#43046} Bug: webrtc:367181089 Change-Id: I02b59232fae9f729341811042a02f7cf346d4bbe No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362982 Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43052}
This commit is contained in:
parent
e2952a058e
commit
4595711bf5
@ -113,9 +113,6 @@ ACTIVE_FIELD_TRIALS: FrozenSet[FieldTrial] = frozenset([
|
||||
FieldTrial('WebRTC-PermuteTlsClientHello',
|
||||
42225803,
|
||||
date(2025, 1, 1)),
|
||||
FieldTrial('WebRTC-DisableTlsSessionTicketKillswitch',
|
||||
367181089,
|
||||
date(2025, 7, 1)),
|
||||
FieldTrial('WebRTC-QCM-Dynamic-AV1',
|
||||
349860657,
|
||||
date(2025, 7, 1)),
|
||||
|
||||
@ -306,9 +306,7 @@ OpenSSLStreamAdapter::OpenSSLStreamAdapter(
|
||||
!webrtc::field_trial::IsDisabled("WebRTC-PermuteTlsClientHello")),
|
||||
#endif
|
||||
ssl_mode_(SSL_MODE_DTLS),
|
||||
ssl_max_version_(SSL_PROTOCOL_DTLS_12),
|
||||
disable_handshake_ticket_(!webrtc::field_trial::IsDisabled(
|
||||
"WebRTC-DisableTlsSessionTicketKillswitch")) {
|
||||
ssl_max_version_(SSL_PROTOCOL_TLS_12) {
|
||||
stream_->SetEventCallback(
|
||||
[this](int events, int err) { OnEvent(events, err); });
|
||||
}
|
||||
@ -1082,9 +1080,6 @@ SSL_CTX* OpenSSLStreamAdapter::SetupSSLContext() {
|
||||
SSL_CTX_set_permute_extensions(ctx, permute_extension_);
|
||||
#endif
|
||||
|
||||
if (disable_handshake_ticket_) {
|
||||
SSL_CTX_set_options(ctx, SSL_OP_NO_TICKET);
|
||||
}
|
||||
return ctx;
|
||||
}
|
||||
|
||||
|
||||
@ -250,9 +250,6 @@ class OpenSSLStreamAdapter final : public SSLStreamAdapter,
|
||||
// A 50-ms initial timeout ensures rapid setup on fast connections, but may
|
||||
// be too aggressive for low bandwidth links.
|
||||
int dtls_handshake_timeout_ms_ = 50;
|
||||
|
||||
// Rollout killswitch for disabling session tickets.
|
||||
const bool disable_handshake_ticket_;
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user