]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: add a small helper to compute how far to rewind to find URI
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Apr 2014 18:24:24 +0000 (20:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Apr 2014 21:15:28 +0000 (23:15 +0200)
commitda6eed621fd69fd860d879e1609da1cc07ea23e6
tree4e39e62460c19ac6336ddba5660f7b5feb700b23
parent211cdece7963c956d2f9447f9ae1eddd96fc497d
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.
include/proto/proto_http.h
src/backend.c