Re: HTTP2 window update and priority

2016-05-10 Thread Muhui Jiang
Hi To say more, I may need your comment on my understanding of Nginx 1. Is the reason that I cannot receive the response headers frame because the response headers are stored in the SSL buffer? 2.Nginx will fetch the blocked request in the queue when receiving a window update frame (is the reque

Re: HTTP2 window update and priority

2016-05-10 Thread Valentin V. Bartenev
On Tuesday 10 May 2016 22:12:59 Muhui Jiang wrote: > Hi > > >You've misread the source code. HTTP/2 windows are handled in > >ngx_http_v2_send_chain(), which is only called for response body > >data. > > when the window is blocked, Nginx logs that the headers frame has been sent > out, however I

Re: HTTP2 window update and priority

2016-05-10 Thread Muhui Jiang
Hi >You've misread the source code. HTTP/2 windows are handled in >ngx_http_v2_send_chain(), which is only called for response body >data. when the window is blocked, Nginx logs that the headers frame has been sent out, however I cannot receive any response headers. The same client tried on h2o

Re: HTTP2 window update and priority

2016-05-10 Thread Valentin V. Bartenev
On Monday 09 May 2016 21:27:31 Muhui Jiang wrote: > Hi > > According to my view on the source code of Nginx 1.9.15, I noticed some > observation below: > > 1. when there is no enough window, nginx won't send back the response > frame, though according to the log, nginx said it has sent the header

HTTP2 window update and priority

2016-05-09 Thread Muhui Jiang
Hi According to my view on the source code of Nginx 1.9.15, I noticed some observation below: 1. when there is no enough window, nginx won't send back the response frame, though according to the log, nginx said it has sent the headers frame out, but client won't receive it. This is not right acco