commit | 2d8e485a7c299faf08e8ba7cb73af51fc5ca182e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 17 20:08:17 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 22 23:15:28 2014 +0200 |
tree | 00030db05ab2eae12a245806050792709786ef90 | |
parent | c24715e5f76d96d848ca66a93d80951a276c4cb8 [diff] |
MINOR: http: add a small helper to compute the amount of body bytes present http_body_bytes() returns the number of bytes of the current message body present in the buffer. It is compatible with being called before and after the headers are forwarded. This is done to centralize further ->sov changes.