commit | 96a7785429d8dfb3c0df4fb83a08fe5600dab440 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@exceliance.fr> | Wed Feb 05 00:30:02 2014 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 05 11:26:50 2014 +0100 |
tree | 06534b8e0082a04f9c275d28ab103f8ebc7eec13 | |
parent | a23ee3a2ea12bcb8244304d308b9f3fe69169fd8 [diff] |
MINOR: http: optimize capture.req.method and capture.req.uri Useless strncpy were done in those two sample fetches, the "struct chunk" allows us to dump the specified len. The encode_string() in capture.req.uri was judged inappropriate and was deleted. The return type was fixed to SMP_T_CSTR.