[core] support Transfer-Encoding: chunked req body (fixes #2156)
commit4d7f5737f150c4bab8d3832bab9da62eddfea7d2
authorGlenn Strauss <gstrauss@gluelogic.com>
Fri, 16 Dec 2016 16:06:29 +0000 (16 11:06 -0500)
committerGlenn Strauss <gstrauss@gluelogic.com>
Fri, 16 Dec 2016 21:58:04 +0000 (16 16:58 -0500)
tree3f5e56edf1e30f1a8da842e28ca283f196e8560b
parentf792d84cf9d16e8089aef7206b4a60d31c11ad55
[core] support Transfer-Encoding: chunked req body (fixes #2156)

support Transfer-Encoding: chunked request body in conjunction with
  server.stream-request-body = 0

dynamic handlers will still return 411 Length Required if
  server.stream-request-body = 1 or 2 (!= 0)
  since CGI-like env requires CONTENT_LENGTH be set
  (and mod_proxy currently sends HTTP/1.0 requests to backends,
   and Content-Length recommended for robust interaction with backend)

x-ref:
  "request: support Chunked Transfer Coding for HTTP PUT"
  https://redmine.lighttpd.net/issues/2156
src/base.h
src/connections-glue.c
src/connections.c
src/connections.h
src/mod_cgi.c
src/mod_fastcgi.c
src/mod_proxy.c
src/mod_scgi.c
src/request.c
tests/request.t