commit | 69d8c5d99e4ffe57e7014ec6609584519f83f76b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 08 09:44:41 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 08 21:28:15 2012 +0200 |
tree | 8b3290596e1f7b44df8b91ea6eda93e66c972123 | |
parent | d6c2e8c9162452e5f192bdd92c7f241499c7117e [diff] |
BUG/MINOR: http: ensure that msg->err_pos is always relative to buf->p Since the beginning of buffer&msg changes, the error position (err_pos) had not completely been converted and some offsets still appear wrong. Now we ensure that everywhere msg->err_pos is relative to buf->p and we always report buf->i bytes starting at buf->p in all error captures, which ensures that err_pos is there. This is not exactly a bug and is specific to latest changes so no backport is needed.