]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1: properly pre-initialize err_pos to -2
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 07:08:54 +0000 (09:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 15:38:25 +0000 (17:38 +0200)
commitbbf3823f82648daaa3fd0f14f8ad787cff7fcf63
tree9803ec05346be5561889f227e562ffc1d95a70ba
parent25173a7bcce8173c294c9f15ca7e6da8bc8415e0
MINOR: h1: properly pre-initialize err_pos to -2

This way we maintain the old mechanism stating that -2 means we block
on errors, -1 means we only capture them, and a positive value indicates
the position of the first error.
include/proto/h1.h
include/types/h1.h