]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: Add standalone functions to parse a start-line or a header
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Oct 2018 13:12:04 +0000 (15:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 20:45:49 +0000 (21:45 +0100)
commit8277ca72b152f36d8561c60dd8e7ea2d5bd2c2fc
treec2dfe669c415ed2ef5787115fdb28d385e344da7
parent72d9125efb70f84cb3fdc3d67555a7878dbf84fb
MINOR: http: Add standalone functions to parse a start-line or a header

These 2 functions are pretty naive. They only split a start-line into its 3
substrings or a header line into its name and value. Spaces before and after
each part are skipped. No CRLF at the end are expected.
include/common/http.h
src/http.c