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

git: DragonFly_RELEASE_3_0 tcp: Ignore TCP_NOPUSH socketopt by default


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2012 18:43:48 -0700 (PDT)

commit 5cf02bc43f01bf69cff57b4d534939b6efb2176f
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/5cf02bc43f01bf69cff57b4d534939b6efb2176f


-- 
DragonFly BSD source repository



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