Skip to content

Commit 3838e58

Browse files
igrrdevyte
authored andcommitted
WiFiClientSecure: don't use the broken max_fragment_length extension (#4033)
axTLS does not correctly implement max_fragment_length extension. This causes servers which understand this extension (currently GnuTLS- and WolfSSL-based) to reject the client hello. Until this is fixed in axTLS, remove the call to enable this extension from WiFiClientSecure. Fixes #3932.
1 parent a7984b6 commit 3838e58

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/ESP8266WiFi/src/WiFiClientSecure.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ class SSLContext
113113
{
114114
SSL_EXTENSIONS* ext = ssl_ext_new();
115115
ssl_ext_set_host_name(ext, hostName);
116-
ssl_ext_set_max_fragment_size(ext, 4096);
117116
if (_ssl) {
118117
/* Creating a new TLS session on top of a new TCP connection.
119118
ssl_free will want to send a close notify alert, but the old TCP connection

0 commit comments

Comments
 (0)