Request body: adjust b->pos when chunked parsing done.

This is a nop for the current code, though will allow to correctly parse
pipelined requests.
This commit is contained in:
Maxim Dounin 2012-11-21 01:02:56 +00:00
parent df74d88156
commit 6ddf23bdc4

View File

@ -2065,6 +2065,9 @@ data:
done:
ctx->state = 0;
b->pos = pos + 1;
return NGX_DONE;
invalid: