Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Reprioritization of Jetty


The thing I want to do is :

Download a big file from a HTTP/2 server like h2o, using my client(Jetty) to send windows_update frame periodically and see whether it can restrict the size of returned packet and control the timing. But I find I can do this with settings frame. So I am a little bit confused because I thought  this is what window_update frame should do.

Best Regards
Muhui Jiang

2015-09-28 2:11 GMT+08:00 Simone Bordet <sbordet@xxxxxxxxxxx>:

On Sun, Sep 27, 2015 at 7:12 PM, Muhui Jiang <jiangmuhui@xxxxxxxxx> wrote:
> Hi
> But I find chrome will send window_update frame. Here is a part of the
> packages when I made request to
> t=13293813 [st=    0]    HTTP2_STREAM_UPDATE_RECV_WINDOW
>                          --> delta = 15663105
>                          --> window_size = 15728640
> t=13293813 [st=    0]    HTTP2_SESSION_SENT_WINDOW_UPDATE_FRAME
>                          --> delta = 15663105
>                          --> stream_id = 0
> t=13294034 [st=  221]    HTTP2_SESSION_RECV_SETTINGS
>                          --> clear_persisted = false
>                          --> host = ""
> t=13294034 [st=  221]    HTTP2_SESSION_RECV_SETTING
>                          --> flags = 0
>                          --> id = 3
>                          --> value = 100
>                          --> delta_window_size = 983041
> You can see the client has send the window_update_frame. And when I set the
> key 4(initial ) as 100. I find all the frames I received is 100. I was
> wondering why the size of the frame I received is configured by the settings
> frame? It seems I can do flow control by using settings frame. I am confused
> why not using window_update frame, which is responsible for flow control.

I don't understand what you want to do.

The client will send window updates whenever it deems needed, and
typically this is subject to complex algorithms that may involve the
bandwidth delay product (BDP), etc.
You really don't want to mess with flow control.

So, what is it that you want to do ?

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top