commit | 564981369b0550e97c4a03a68f8970cfc0da0220 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jan 29 11:39:43 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jan 29 13:27:57 2021 +0100 |
tree | 965c68127f8e97d261474b79a65c05641bd02a1f | |
parent | 3702f78cf9f9db17b13ad637c25bd59370c3fadc [diff] |
MINOR: mux-h2: Don't tests the start-line when sending HEADERS frame When a HEADERS frame is sent, it is always when an HTX start-line block is found. Thus, in h2s_bck_make_req_headers() and h2s_frt_make_resp_headers() functions, it is useless to tests the start-line. Instead of being too defensive, we use BUG_ON() now because it must not happen and must be handled as a bug. This patch should fix the issue #1086.