git: DragonFly_RELEASE_3_0 tcp: Ignore TCP_NOPUSH socketopt by default

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu May 17 18:43:48 PDT 2012


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


-- 
DragonFly BSD source repository





More information about the Commits mailing list