commit | 472b1ee115f45129ea3fc19e26f85b3ec9715abe | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Oct 14 22:41:30 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Oct 14 22:47:00 2013 +0200 |
tree | 5881345446a47a7884e0a711f0fe307a0f39fb91 | |
parent | ed5a4aefaee68e1046a55218be7853739e3484c0 [diff] |
BUG/MEDIUM: http: accept full buffers on smp_prefetch_http Bertrand Jacquin reported a but when using tcp_request content rules on large POST HTTP requests. The issue is that smp_prefetch_http() first tries to validate an input buffer, but only if the buffer is not full. This test is wrong since it must only be performed after the parsing has failed, otherwise we don't accept POST requests which fill the buffer as valid HTTP requests. This bug is 1.5-specific, no backport needed.