commit | afc7cb85c47f89a95554d20fd4a9e11a28b8b4b9 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Mon Mar 25 14:08:01 2019 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Mon Mar 25 14:34:26 2019 +0100 |
tree | d1fee4d95c4143fe93c9ca19d851d3a61cfcc6a2 | |
parent | fd1e96d2fb10eb7d1e11ca143ac0e7eac55c4666 [diff] |
BUG/MEDIUM: h2: Follow the same logic in h2_deferred_shut than in h2_snd_buf. In h2_deferred_shut(), don't just set h2s->send_wait to NULL, instead, use the same logic as in h2_snd_buf() and only do so if we successfully sent data (or if we don't want to send them anymore). Setting it to NULL can lead to crashes. This should be backported to 1.9.