commit | da6eed621fd69fd860d879e1609da1cc07ea23e6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 17 20:24:24 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 22 23:15:28 2014 +0200 |
tree | 4e39e62460c19ac6336ddba5660f7b5feb700b23 | |
parent | 211cdece7963c956d2f9447f9ae1eddd96fc497d [diff] |
MINOR: http: add a small helper to compute how far to rewind to find URI http_uri_rewind() returns the number of bytes to rewind before buf->p to find the URI. It relies on http_hdr_rewind() to find the beginning and is just here to simplify operations. The purpose is to centralize further ->sov changes aiming at avoiding to rely on buf->o.