• Martin Blix Grydeland's avatar
    Set TCP_NODELAY on the accepted sockets to disable Nagle. · ef5e9e0c
    Martin Blix Grydeland authored
    This should not have any impact on the "normal" deliveries, as these
    will as before be done through a single writev operation.
    
    For deliveries involving chunked encoding (e.g. ESI or gunzip), this
    should prevent an unnecessary delay where the Nagle algorithm kicks in
    on the end-chunk write. This should give higher throughput and better
    utilization of a single connection, especially for clients not doing
    pipelining.
    
    Conflicts:
    
    	bin/varnishd/cache_acceptor.c
    ef5e9e0c
cache_acceptor.c 11.8 KB