DOC: fix the comments about the meaning of msg->sol in HTTP

It has a meaning while parsing a body when using chunked encoding.
This must be backported to 1.5 since it caused a bug there as well.
This commit is contained in:
Willy Tarreau 2015-05-01 23:14:54 +02:00
parent 82649f9ef3
commit 30fe818979
1 changed files with 5 additions and 1 deletions

View File

@ -359,7 +359,11 @@ enum {
* - next (parse pointer) : next relative byte to be parsed. Always points
* to a byte matching the current state.
*
* - sol (start of line) : start of current line before MSG_BODY, or zero.
* - sol (start of line) : start of current line before MSG_BODY. Starting
* from MSG_BODY, contains the length of the last
* parsed chunk size so that when added to sov it
* always points to the beginning of the current
* data chunk.
*
* - eol (End of Line) : Before HTTP_MSG_BODY, relative offset in the
* buffer of the first byte which marks the end of