Welcome! Log In Create A New Profile

Advanced

Re: Http2 Priority

Valentin V. Bartenev
October 13, 2015 11:18AM
On Tuesday 13 October 2015 22:43:48 Muhui Jiang wrote:
> Hi
>
> Thank you so much. Valentin.
> My understanding:
> Though clinklittle128.png has higher priority, the server wants to send it
> first to the client. But because of flow control, the clinklittle128.png is
> blocked(waiting for the window update frame). But at this time the server
> don't want to waste the resource, so it will send the index.html,
> preloadjs.min.js etc. When the server received the window update frame,
> it will send the clinklittle128.png once again. Am I right?

Yes, that's right.


>
> BTW: could you please locate the related source code for me. I want to have
> a deep research on it. Many Thanks

The code related to exhausting flow control window is here:
http://hg.nginx.org/nginx/file/tip/src/http/v2/ngx_http_v2_filter_module.c#l1012

Here is what happens on receiving window update:
http://hg.nginx.org/nginx/file/tip/src/http/v2/ngx_http_v2.c#l2130

wbr, Valentin V. Bartenev

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

Http2 Priority

Muhui Jiang October 09, 2015 04:42AM

Re: Http2 Priority

Valentin V. Bartenev October 12, 2015 09:04AM

Re: Http2 Priority

Muhui Jiang October 12, 2015 11:18AM

Re: Http2 Priority

Valentin V. Bartenev October 12, 2015 01:24PM

Re: Http2 Priority

Valentin V. Bartenev October 13, 2015 10:16AM

Re: Http2 Priority

Muhui Jiang October 13, 2015 10:44AM

Re: Http2 Priority

Valentin V. Bartenev October 13, 2015 11:18AM

Re: Http2 Priority

Muhui Jiang October 13, 2015 11:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 267
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