Multi-line headers patch

Piotr Sikora piotr.sikora at frickle.com
Wed Sep 22 05:36:59 MSD 2010


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 at frickle.com >
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accept_and_unfold_multiline_headers.t
Type: application/octet-stream
Size: 3810 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20100922/9b3a8c7a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accept_and_unfold_multiline_headers_v2.patch
Type: application/octet-stream
Size: 6391 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20100922/9b3a8c7a/attachment-0003.obj>


More information about the nginx mailing list