commit | e461e34d64bb1f161500a9cfd628978332578a3c | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Dec 18 16:43:35 2018 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Dec 19 13:45:53 2018 +0100 |
tree | c120b5e472223f7a06683e7fb9df0cf7035e6387 | |
parent | b6aadbd19ef33d375ea06079d7034c55b6f5eafc [diff] |
BUG/MEDIUM: lua/htx: Handle EOM in receive/get_line calls in HTTP applets In HTTP applets, the request's EOM was removed like other blocks when receive or get_line was called from lua scripts. So it was impossible to stop receiving data on successive calls when all the request body was already consumed, blocking infinitly the applet. Now, we never consume the EOM. So it is easy to interrupt receive/get_line calls. In all cases, this block is consumed when the applet ends.