[PATCH] SPDY/3.1 protocol implementation

Valentin V. Bartenev vbart at nginx.com
Mon Jan 27 23:21:45 UTC 2014

On Tuesday 28 January 2014 02:37:12 Valentin V. Bartenev wrote:
> [..]
> > Also, it seems that receiving window size is hardcoded to 2GBs, which
> > makes flow control (which main point was to protect against single
> > stream, for example big POST upload, taking over whole SPDY
> > connection) totally useless. This value should be configureable or at
> > the very least set to something much more reasonable than 2GBs.
> No, it's actually browser's will to properly prioritize POST requests.
> The receiving flow control has two uses for server:
>  1. Preventing buffer bloat.  But it's not our case since
>     nginx currently supports only buffered uploads, and
>     buffers the whole request body anyway.
>  2. It rather subcase of 1: preventing client from sending
>     data till the moment when we actually need the body,
>     (i.e. ngx_http_read_client_request_body() is called).

Well, probably the third use case is upload rate limiting, but nginx currently 
also doesn't have one.

  wbr, Valentin V. Bartenev

More information about the nginx-devel mailing list