Revisited patch:
- remove trailing '\0' that was accidentally added to unfolded values,
- accept multi-line headers that break not only on CRLF ('\r\n') but also on
LF ('\n') - nginx accepts this as newline for HTTP headers anyway.
Attached test suite requires agentzh's Test::Nginx.
Best regards,
Piotr Sikora < piotr.sikora@frickle.com >
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Attachments:
open |
download -
accept_and_unfold_multiline_headers.t
(3.7 KB)
open |
download -
accept_and_unfold_multiline_headers_v2.patch
(6.2 KB)