You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Outgoing HTTPS connections fail with OpenSSL 3.2+ #11465
diff --git a/src/iocore/net/SSLNetVConnection.cc b/src/iocore/net/SSLNetVConnection.cc
index 4d0e2d9a2..b088026bf 100644
--- a/src/iocore/net/SSLNetVConnection.cc+++ b/src/iocore/net/SSLNetVConnection.cc@@ -209,6 +209,9 @@ SSLNetVConnection::_make_ssl_connection(SSL_CTX *ctx)
if (likely(this->ssl = SSL_new(ctx))) {
// Only set up the bio stuff for the server side
if (this->get_context() == NET_VCONNECTION_OUT) {
+ SSL_set_fd(ssl, this->get_socket());++#if !defined(BIO_SOCK_TFO)
BIO *bio = BIO_new(const_cast<BIO_METHOD *>(BIO_s_fastopen()));
BIO_set_fd(bio, this->get_socket(), BIO_NOCLOSE);
@@ -217,6 +220,7 @@ SSLNetVConnection::_make_ssl_connection(SSL_CTX *ctx)
}
SSL_set_bio(ssl, bio, bio);
+#endif
} else {
this->initialize_handshake_buffers();
BIO *rbio = BIO_new(BIO_s_mem());
Activity
zwoop commentedon Jun 20, 2024
This seems like a priority for v10.0.0
ywkaras commentedon Jun 25, 2024
Verified the problem on Ubuntu. The
tls_verifyAu test fails.bryancall commentedon Jul 1, 2024
I am seeing the same issue on Fedora 40
ywkaras commentedon Jul 2, 2024
It looks like the problem is a consequence of the f_tcp_fastopen option not set:
trafficserver/src/iocore/net/SSLNetVConnection.cc
Line 215 in e31eca4
Cyborgscode commentedon Nov 14, 2024
@jeredfloyd backport fix works. Tested on production system.