DragonFly BSD
DragonFly commits List (threaded) for 2012-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: tcp: Ignore TCP_NOPUSH socketopt by default


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2012 03:06:42 -0700 (PDT)

commit 3533a1834a0ba3a7c441ede5120c3720d8a34c4c
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]