Add support for chunk-encoded client request bodies
authorFabian Keil <fk@fabiankeil.de>
Fri, 7 Dec 2012 12:43:55 +0000 (12:43 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 7 Dec 2012 12:43:55 +0000 (12:43 +0000)
commit84bc28fd921cef0f8be77172da1751ada7c57bd5
tree04de7d73731239fe3e6bef1d979ec1bd820ada21
parentdf64f10ceefe48354572157db92e5f8fb814b7c4
Add support for chunk-encoded client request bodies

It's simplistic and requires the whole request body to be buffered
before the request is forwarded. If the buffer limit is reached,
the request is rejected.

Previously chunk-encoded request bodies weren't guaranteed
to be forwarded correctly, so this can also be considered a
bug fix although chunk-encoded request bodies aren't commonly
used in the real world.
jcc.c
parsers.c
parsers.h
project.h