]> git.kaiwu.me - haproxy.git/commit
MINOR: h2: don't re-enable the connection's task when we're closing
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 10:59:51 +0000 (11:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 13:47:04 +0000 (14:47 +0100)
commite6ae77f64f6e5fb8fe5f9cc3ccd6f84545432699
tree34befb1baca9623412ca94f1a9f4687b8171924c
parent83906c2f912ea46373fda5795f398c5c657f01e8
MINOR: h2: don't re-enable the connection's task when we're closing

It's pointless to requeue the task when we're closing, so swap the
order of the task_queue() and h2_release(). It also matches what
was written in the comment regarding re-arming the timer.
src/mux_h2.c