Re: What error code when concurrent stream limit is exceeded

On Sun, Nov 23, 2014 at 10:24 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Sun, Nov 23, 2014 at 08:07:45PM -0800, Roberto Peon wrote:
> > Yup, modulo the lack of knowledge on the first RT or so...
>
> There's another case where network latency adds some uncertainty :
> when clients abort some streams from time to time and consider they
> can immediately open a new one as a replacement (the stop button or
> Ctrl-F5). It is possible that for internal scheduling reasons or
> flow control in the client, the abort is sent after the new stream
> is presented, and that from time to time a new stream is rejected.
>

That's just a bad client. The frames from the client to the server are
serialized over the one connection on which the limits apply.

If the client is keeping its state under different locking than it orders
its serialized frames on the connection, it's going to have all sorts of a
bad time in any case.

Received on Monday, 24 November 2014 06:32:18 UTC