mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-19 22:39:46 -04:00
http_body_rewind() returns the number of bytes to rewind before buf->p to find the message's body. It relies on http_hdr_rewind() to find the beginning and adds msg->eoh + msg->eol which are always safe. http_data_rewind() does the same to get the beginning of the data, which differs from above when a chunk is present. It uses the function above and adds msg->sol. The purpose is to centralize further ->sov changes aiming at avoiding to rely on buf->o. |
||
|---|---|---|
| .. | ||
| common | ||
| import | ||
| proto | ||
| types | ||