'Does TCP_NODELAY disable auto corking?
Does setting TCP_NODELAY prevent auto corking? Is there a way to turn off auto corking on a per socket basis?
Solution 1:[1]
Taking a look at this Stack Overflow post on what autocorking is, we can see:
...so it would still work even when
TCP_NODELAYoption is set.
Other than that, we have this conversation which states:
Lets wait the end of 3.14 dev cycle before considering this patch.
So, to answer your original question, setting TCP_NODELAY does not prevent autocorking. As of turning off autocorking, this post on Unix might help you.
Short answer:
tcp_nagle_check()innet_ipv4_tcp_output.c
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | pppery |
