[core] permit LF to end lines if !header-strict
commitfa1eef0071bd52a968cb53d17a371641122556e1
authorGlenn Strauss <gstrauss@gluelogic.com>
Mon, 16 Oct 2017 06:17:07 +0000 (16 02:17 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Mon, 16 Oct 2017 06:17:07 +0000 (16 02:17 -0400)
tree14543cfa27707e3546acfeeec2c44ddd695a6cbb
parent0ff8904a72adf13e303d60697dc8efded32655ec
[core] permit LF to end lines if !header-strict

permit LF to end header lines if
  server.http-parseopt-header-strict = "disable"
(instead of requiring CR LF)

(makes it easy to use 'openssl s_client -connect <IP:port>' on unix)

(Note: care taken to minimize diff in this commit,
 but header parsing code should be revisited and overhauled)
src/connections.c
src/request.c