• Dridi Boukelmoune's avatar
    http2_send: Apply h2_window_timeout · 9dfb893d
    Dridi Boukelmoune authored
    It replaces idle_send_timeout when the stream is waiting for window
    credits before sending more DATA frames. The idle_send_timeout will
    still apply to individual writes to the socket, but triggering it is
    considered a failure condition (this was already the case).
    
    The two loops are merged into a single one to better deal with the
    lack of ordering guarantees of request vs connection stream control
    flow window crediting.
    
    Refs #2980
    
    Conflicts:
    	bin/varnishd/http2/cache_http2_proto.c
    	bin/varnishd/http2/cache_http2_send.c
    9dfb893d
cache_http2_send.c 10.7 KB