From 81364f88e263f1628c6503d45753e67b31fe7606 Mon Sep 17 00:00:00 2001 From: Thilo Molitor Date: Wed, 15 Nov 2023 01:56:54 +0100 Subject: [PATCH] Disable tcp fast open for now --- Monal/Classes/MLStream.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Monal/Classes/MLStream.m b/Monal/Classes/MLStream.m index e8ea0a88b8..ae6b9fec4d 100644 --- a/Monal/Classes/MLStream.m +++ b/Monal/Classes/MLStream.m @@ -358,7 +358,7 @@ +(void) connectWithSNIDomain:(NSString*) SNIDomain connectHost:(NSString*) host MLOutputStream* output = [[MLOutputStream alloc] initWithSharedState:shared_state]; nw_parameters_configure_protocol_block_t tcp_options = ^(nw_protocol_options_t tcp_options) { - nw_tcp_options_set_enable_fast_open(tcp_options, YES); //enable tcp fast open + //nw_tcp_options_set_enable_fast_open(tcp_options, YES); //enable tcp fast open //nw_tcp_options_set_no_delay(tcp_options, YES); //disable nagle's algorithm }; nw_parameters_configure_protocol_block_t configure_tls_block = ^(nw_protocol_options_t tls_options) {