commit | 294c47375631ddf7f26bad02c5f79527cfa091e5 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 16 21:35:50 2011 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 30 17:33:26 2011 +0100 |
tree | b88da21d0ede69c58a05d302fe95faefa48045b6 | |
parent | aff79da207145ec20e1e510e255c129482fcd4f7 [diff] |
MEDIUM: http: replace get_ip_from_hdr2() with http_get_hdr() The new function does not return IP addresses but header values instead, so that the caller is free to make what it want of them. The conversion is not quite clean yet, as the previous test which considered that address 0.0.0.0 meant "no address" is still used. A different IP parsing function should be used to take this into account.