Skip to content

Commit

Permalink
Disable tcp fast open for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Nov 15, 2023
1 parent 91299ed commit 81364f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Monal/Classes/MLStream.m
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 81364f8

Please sign in to comment.