]> granicus.if.org Git - curl/commit
http2: clear the "drain counter" when a stream is closed
authorDaniel Stenberg <daniel@haxx.se>
Thu, 19 Apr 2018 18:01:52 +0000 (20:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Apr 2018 20:18:19 +0000 (22:18 +0200)
commit7645c6bd5ea6c337414a264b37f50995b0f9e7d2
treecbc454f24f8a373cb49eeee94763c1d637fb5db8
parent1514c44655e12e93e453bbc9e1934cf6d30d3817
http2: clear the "drain counter" when a stream is closed

This fixes the notorious "httpc->drain_total >= data->state.drain"
assert.

Reported-by: Anders Bakken
Fixes #1680
Closes #2509
lib/http2.c