git: tcp: Ignore TCP_NOPUSH socketopt by default

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu May 17 03:06:42 PDT 2012


commit 3533a1834a0ba3a7c441ede5120c3720d8a34c4c
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu May 17 17:58:41 2012 +0800

    tcp: Ignore TCP_NOPUSH socketopt by default
    
    For ill optimized programs which misuses this sockopt will cause
    unpredicted length of network stalling, if the total sending size
    is not TCP sending segment size aligned.
    
    sysctl node net.inet.tcp.disable_nopush controls whether TCP_NOPUSH
    will take effect or not
    
    I am not going to fight agaist the stupid programs in the wild.
    
    DragonFly-bug: http://bugs.dragonflybsd.org/issues/2368
    
    This is actually _not_ a bug on our side.

Summary of changes:
 sys/netinet/tcp_usrreq.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3533a1834a0ba3a7c441ede5120c3720d8a34c4c


-- 
DragonFly BSD source repository





More information about the Commits mailing list