BUG/MEDIUM: http: fix inverted condition in pat_match_meth()
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Aug 2014 18:42:57 +0000 (20:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Aug 2014 18:42:57 +0000 (20:42 +0200)
commit4de2a94165f25136b2b42933f17601479800bbc1
tree3eb3ddccabe36e3a6cc764ee939bfbba00692fb1
parent7346acb6f1c148782ebaa93d34e7b86a7f8706ae
BUG/MEDIUM: http: fix inverted condition in pat_match_meth()

This results in a string-based HTTP method match returning true when
it doesn't match and conversely. This bug was reported by Joe Williams.

The fix must be backported to 1.5, though it still doesn't work because
of at least 3-4 other bugs in the long path which leads to building this
pattern list.
src/proto_http.c