Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] SPDY/3.1 protocol implementation

Piotr Sikora
January 27, 2014 06:44PM
Hey Valentin,

> Current receiving flow control implementation is pretty simple and effective:
> we allow browser to send as much data as it wants. That's why it is hardcoded
> to the maximum value.
>
> (...)
>
> No, it's actually browser's will to properly prioritize POST requests.

But now you're relying on the browser to do the right thing vs forcing
the correct behavior via SPDY's flow control.

> The receiving flow control has two uses for server:

I'd argue that making sure that requests are multiplexed is also a
valid use case ;)

In any case, I'd prefer if this would be configureable value.

Also, it seems that we should be forcing minimum value for the
client's window size, otherwise client can set window size to 2 bytes
and make nginx return thousands of DATA frames and use way too many
resources to serve a small static page (same is true for Google's &
Twitter's web servers). This could be a huge (D)DoS-vector.

Best regards,
Piotr Sikora

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] SPDY/3.1 protocol implementation

Valentin V. Bartenev 1107 January 27, 2014 03:04PM

Re: [PATCH] SPDY/3.1 protocol implementation

Jim Popovitch 476 January 27, 2014 04:14PM

Re: [PATCH] SPDY/3.1 protocol implementation

Piotr Sikora 516 January 27, 2014 04:54PM

Re: [PATCH] SPDY/3.1 protocol implementation

Valentin V. Bartenev 480 January 27, 2014 05:38PM

Re: [PATCH] SPDY/3.1 protocol implementation

Valentin V. Bartenev 389 January 27, 2014 06:22PM

Re: [PATCH] SPDY/3.1 protocol implementation

Piotr Sikora 499 January 27, 2014 06:44PM

Re: [PATCH] SPDY/3.1 protocol implementation

Piotr Sikora 548 January 27, 2014 07:32PM

Re: [PATCH] SPDY/3.1 protocol implementation

Valentin V. Bartenev 461 January 27, 2014 07:34PM

Re: [PATCH] SPDY/3.1 protocol implementation

Piotr Sikora 529 January 27, 2014 10:06PM

Re: [PATCH] SPDY/3.1 protocol implementation

Maxim Dounin 762 January 28, 2014 05:06AM

Re: [PATCH] SPDY/3.1 protocol implementation

Alex 502 January 27, 2014 09:12PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready