commit | 47b515a462fbd99c204c2bebca49190f2ef00104 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 21 16:09:41 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 21 16:12:33 2018 +0100 |
tree | ef2bc388a62ac5b73c636370c50ce2146fb28132 | |
parent | e98ce25b61387522a29f62ee779ba9bf60805bd2 [diff] |
BUG/MEDIUM: mux-h2: don't needlessly wake up the demux on short frames In some situations, if too short a frame header is received, we may leave h2_process_demux() waking up the task again without checking that we were already subscribed. In order to avoid this once for all, let's introduce an h2_restart_reading() function which performs the control and calls the task up. This way we won't needlessly wake the task up if it's already waiting for I/O. Must be backported to 1.9.