commit | 5275aa75403b65db20be5caa8261e9c7fcf3d7c2 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jan 17 16:47:42 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Jan 20 15:18:45 2020 +0100 |
tree | 2bde7f6fa720e0e8b7735fa46420411b1f25b9ee | |
parent | 046cf44f6c021b635897ea8d8a65926a03f9eb40 [diff] |
MINOR: http-rules: Group all processing of early-hint rule in its case clause To know if the 103 response start-line must be added, we test if it is the first rule of the ruleset or if the previous rule is not an early-hint rule. And at the end, to know if the 103 response must be terminated, we test if it is the last rule of the ruleset or if the next rule is not an early-hint rule. This way, all the code dealing with early-hint rules is grouped in its case clause.