Skip to content

Commit

Permalink
sui-http: properly set TCP_NODELAY by default
Browse files Browse the repository at this point in the history
The configuration documentation stated that TCP_NODELAY was enabled by
default but the actual default had it disabled. This patch corrects that
and enables TCP_NODELAY by default.
  • Loading branch information
bmwill committed Jan 9, 2025
1 parent 58399e8 commit 8ec5354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-http/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl Default for Config {
init_connection_window_size: None,
max_concurrent_streams: None,
tcp_keepalive: None,
tcp_nodelay: false,
tcp_nodelay: true,
http2_keepalive_interval: None,
http2_keepalive_timeout: None,
http2_adaptive_window: None,
Expand Down

0 comments on commit 8ec5354

Please sign in to comment.