]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: sample: remove useless tests in fetch functions for l4 != NULL
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2015 19:38:18 +0000 (21:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:35:52 +0000 (11:35 +0200)
commit53c9b4db41337d5894c5791ce9905fe665faa09f
tree683de00197610756a60ac6c2505b5a903c53d20c
parent9ad7bd48d257d8ec93c7cce0ef94baf813e2b9fc
CLEANUP: sample: remove useless tests in fetch functions for l4 != NULL

The stream may never be null given that all these functions are called
from sample_process(). Let's remove this now confusing test which
sometimes happens after a dereference was already done.
src/payload.c
src/proto_http.c
src/ssl_sock.c