Mercurial > hg > nginx
comparison src/http/ngx_http_parse.c @ 4926:1c9d8b6523c0
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 21 Nov 2012 01:02:56 +0000 |
parents | 32030fa8cb14 |
children | c0f7b94e88ba |
comparison
equal
deleted
inserted
replaced
4925:32030fa8cb14 | 4926:1c9d8b6523c0 |
---|---|
2063 | 2063 |
2064 return rc; | 2064 return rc; |
2065 | 2065 |
2066 done: | 2066 done: |
2067 | 2067 |
2068 ctx->state = 0; | |
2069 b->pos = pos + 1; | |
2070 | |
2068 return NGX_DONE; | 2071 return NGX_DONE; |
2069 | 2072 |
2070 invalid: | 2073 invalid: |
2071 | 2074 |
2072 return NGX_ERROR; | 2075 return NGX_ERROR; |