commit | 2dd1d1a93f70dddc0636f5cb2f5921998dc91e65 | [log] [tgz] |
---|---|---|
author | Lukas Tribus <luky-37@hotmail.com> | Wed Jun 19 23:34:41 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jun 23 18:01:31 2013 +0200 |
tree | 1ec4916e5171d10cb6f823d8e03db9eda6add9e2 | |
parent | dc13c11c1e1e4888227a291e5eac7156e057b27a [diff] |
BUG/MINOR: http: fix "set-tos" not working in certain configurations s->req->prod->conn->addr.to.ss_family contains only useful data if conn_get_to_addr() is called early. If thats not the case (nothing in the configuration needs the destination address like logs, transparent, ...) then "set-tos" doesn't work. Fix this by checking s->req->prod->conn->addr.from.ss_family instead. Also fix a minor doc issue about set-tos in http-response.