[PATCH/v2] SPDY: Allow returning the full status line
Jim Radford
radford at galvanix.com
Fri May 31 04:52:41 UTC 2013
On Fri, May 31, 2013 at 04:21:45AM +0400, Valentin V. Bartenev wrote:
> On Friday 31 May 2013 02:24:50 Jim Radford wrote:
> > This is a replacement to my previous patch which actaully includes the
> > buffer length handling.
> >
> > # HG changeset patch
> > # User Jim Radford <radford at galvanix.com>
> > # Date 1369952377 25200
> > # Node ID 52d7b6082129c90275579fa3667cce3f537cbd09
> > # Parent 00dbfac67e48a8fe20802287b6fca50950178b8b
> > SPDY: Allow returning the full status line
> >
> [...]
>
> Could you clarify a bit the purpose of this change?
When using nginx to proxy to http, the response status (code and text)
are passed though unchanged if the request comes in via HTTP or HTTP
over SSL; the text however is currently stripped when the request is
made via SPDY. For us this meant that enabling SPDY broke our
application which expected to receive our custom status text.
While we could easily work around this, we think that it better for
nginx to be request transport agnostic as much as possible.
Applications that prefer a curt status may still provide one and it
will be passed through unmolested.
-Jim
More information about the nginx-devel
mailing list