We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876912d commit 0b704c8Copy full SHA for 0b704c8
1 file changed
src/config.rs
@@ -53,7 +53,8 @@ impl Config {
53
54
impl Default for Config {
55
fn default() -> Self {
56
- HttpConfig::default().into()
+ let conf:Self = HttpConfig::default().into();
57
+ conf.set_tcp_no_delay(true)
58
}
59
60
@@ -122,7 +123,7 @@ impl Config {
122
123
124
/// Set TCP `NO_DELAY`.
125
///
- /// Default: `false`.
126
+ /// Default: `true`.
127
128
/// Note: Does nothing on `wasm-client` (or `native-client` on `wasm32`).
129
pub fn set_tcp_no_delay(mut self, no_delay: bool) -> Self {
0 commit comments