]> git.kaiwu.me - nginx.git/commit
SPDY: fix support for headers with multiple values.
authorPiotr Sikora <piotr@cloudflare.com>
Tue, 8 Jul 2014 09:17:44 +0000 (02:17 -0700)
committerPiotr Sikora <piotr@cloudflare.com>
Tue, 8 Jul 2014 09:17:44 +0000 (02:17 -0700)
commit12ca9c9c8fb82d97a3aeb5b3c02b76ebfa66a04b
tree7f9a0c1224a469266c5e175d07e0c1c2d904444b
parentba956867414191d2e2468f1c4fabf47e6b3f0176
SPDY: fix support for headers with multiple values.

Split SPDY header with multiple, NULL-separated values:

    cookie: foo\0bar

into two separate HTTP headers with the same name:

    cookie: foo
    cookie: bar

Even though the logic for this behavior already existed
in the source code, it doesn't look that it ever worked
and SPDY streams with such headers were simply rejected.

Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
src/http/ngx_http_spdy.c