commit | 9b960a860c402ee234af8928867c71105aa25651 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Jan 04 16:51:40 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 04 17:08:45 2019 +0100 |
tree | 74429f949f9478114f1da528d82a6f070062a0f8 | |
parent | 74b41ba025c66bf4d4d2a5dfa320ea8376acb36e [diff] |
BUG/MEDIUM: h1: In h1_init(), wake the tasklet instead of calling h1_recv(). In h1_init(), instead of calling h1_recv() directly, just wake the tasklet, so that the receive will be done later. h1_init() might be called from connect_server(), which is itself called indirectly from process_stream(), and if the receive fails, we may call si_cs_process(), which may destroy the channel buffers while process_stream() still expects them to exist. This should be backported to 1.9.