HTTP/2 initial connection window is too small

2018-12-10 Thread klzgrad
windows. See the following comparison of initial connection window sizes of various servers: Nginx: NGX_HTTP_V2_MAX_WINDOW (2^31-1) H2O: H2O_HTTP2_SETTINGS_HOST_CONNECTION_WINDOW_SIZE (16777216) Apache Traffic Server: Http2::initial_window_size (1048576) -klzgrad

h2 sending RSTs in response to RSTs

2018-01-24 Thread klzgrad
ing, an endpoint MUST NOT send a RST_STREAM in response to a > RST_STREAM frame. I put some logging points. This branch is being triggered: if (h2s->flags & H2_SF_RST_RCVD) { During this, h2s is h2_closed_stream, and the "closed" stream was previously deleted from h2_detach. -klzgrad

Re: tune.h2.initial-window-size not applied to connection windows

2018-01-24 Thread klzgrad
On Tue, Jan 23, 2018 at 2:13 PM, klzgrad <kiz...@gmail.com> wrote: > This tuning knob is probably only useful if it's also applied to the > overall connection windows in addition to stream windows. This should be fairly easy to do: --- a/src/mux_h2.c 2017-12-31 01:13:19.000

h2 connection flow-control window leaks

2018-01-23 Thread klzgrad
hough it could do it like selective ACK instead of sending one WINDOW_UPDATE per DATA. Right now the code appears to be only counting those DATA frames that are transferred to the h1 side. Testing showed the same. -klzgrad

tune.h2.initial-window-size not applied to connection windows

2018-01-22 Thread klzgrad
me cannot alter the connection flow-control window. It appears WINDOW_UPDATE frames were not being sent to update the connection windows. This tuning knob is probably only useful if it's also applied to the overall connection windows in addition to stream windows. -klzgrad