commit | 7f6192c0d313d6ae28096f606c701ff212687f8c | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@haproxy.com> | Sun Apr 26 18:01:40 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 27 11:56:52 2015 +0200 |
tree | 36b0f30a4176be21b12d71b46cbe63cbe0e09945 | |
parent | e91ffd093e548aa08d7ccb835fd261f3d71ffb17 [diff] |
BUG/MEDIUM: http: functions set-{path,query,method,uri} breaks the HTTP parser When one of these functions replaces a part of the query string by a shorter or longer new one, the header parsing is broken. This is because the start of the first header is not updated. In the same way, the total length of the request line is not updated. I dont see any bug caused by this miss, but I guess than it is better to store the good length. This bug is only in the development version.