Chromium Code Reviews
Descriptionnet: merge DisableNagle() with two other SetTCPNoDelay() implementations
This patch merges SetTCPNoDelay() function from tcp_socket_posix.cc,
SetTCPNoDelay() function from tcp_socket_util.cc and DisableNagle() function
from tcp_socket_win.cc, into a single slightly improved one in tcp_socket.cc
with the following prototype:
bool SetTCPNoDelay(SocketDescriptor socket, bool no_delay);
BUG=None
TEST=net_unittests
R=eroman@chromium.org
Committed: https://crrev.com/2d1f2621d8e6dd10feba6cab380fb46d60cb3098
Cr-Commit-Position: refs/heads/master@{#378129}
Patch Set 1 #Patch Set 2 : get rid of DisableNagle() too #Patch Set 3 : SocketDescriptor #Patch Set 4 : export it #
Messages
Total messages: 18 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||