http: add debug message for invalid header value
This makes it easier to see what header has an invalid value.
PR-URL: #9195 Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Sakthipriyan Vairamani thechargingvolcano@gmail.com Reviewed-By: Brian White mscdex@mscdex.net
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
http
This is a backport of https://github.com/nodejs/node/pull/9195 to v6.x.
/cc @MylesBorins