The official NGINX Open Source repository.
Go to file
Valentin Bartenev db8a0c8bf1 SPDY: do not reject headers with empty value (ticket #396).
A quote from SPDY draft 2 specification: "The length of each name and
value must be greater than zero.  A receiver of a zero-length name or
value must send a RST_STREAM with code PROTOCOL error."

But it appears that Chrome browser allows sending requests over SPDY/2
connection using JavaScript that contain headers with empty values.

For better compatibility across SPDY clients and to be compliant with
HTTP, such headers are no longer rejected.

Also, it is worth noting that in SPDY draft 3 the statement has been
changed so that it permits empty values for headers.
2013-08-15 19:16:09 +04:00
auto Core: guard use of AI_ADDRCONFIG. 2013-08-05 13:44:56 +04:00
conf Fixed misleading example SSL config. 2013-08-07 20:01:43 +04:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.5.3-RELEASE 2013-07-30 17:27:55 +04:00
misc Updated zlib used for win32 builds. 2013-06-04 16:16:51 +04:00
src SPDY: do not reject headers with empty value (ticket #396). 2013-08-15 19:16:09 +04:00
.hgtags release-1.5.3 tag 2013-07-30 17:27:55 +04:00