Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Recevied data frames different from Nginx log in HTTP/2

Hi,

On Sun, Oct 18, 2015 at 9:54 AM, Muhui Jiang <jiangmuhui@xxxxxxxxx> wrote:
> Hi
>
> I made a simple request to Nginx 1.9.5, I reviewed the detail log of Nginx,
> and I find
>
> 2015/10/18 15:38:53 [debug] 10707#0: *115 SSL buf copy: 9
> 2015/10/18 15:38:53 [debug] 10707#0: *115 SSL buf copy: 8192
> 2015/10/18 15:38:53 [debug] 10707#0: *115 SSL buf copy: 9
> 2015/10/18 15:38:53 [debug] 10707#0: *115 SSL buf copy: 22
> 2015/10/18 15:38:53 [debug] 10707#0: *115 SSL to write: 8377
> 2015/10/18 15:38:53 [debug] 10707#0: *115 SSL_write: 8377
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http2:1 DATA frame
> 00007F942100AAE0 was sent
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http2 frame sent: 00007F942100AAE0
> sid:1 bl:0 len:8192
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http2:1 DATA frame
> 00007F942100AD48 was sent
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http2 frame sent: 00007F942100AD48
> sid:1 bl:0 len:22
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http write filter 0000000000000000
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http copy filter: 0 "/index.html?"
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http finalize request: 0,
> "/index.html?" a:1, c:1
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http request count:1 blk:0
> 2015/10/18 15:38:53 [debug] 10707#0: *115 http2 close stream 1, queued 0,
> processing 1
>
> The log above shows the server send 2 data frames and the lengths are 8192
> and 22.
>
> But my Jetty client receive data frames are :
>
> 2015-10-18 15:38:52.579:INFO::main: Logging initialized @367ms
>
> HeadersFrame@e4ee4b0#1{end=false}index.html
>
> DataFrame@3cb06f96#1{length:8038,end=false}index.html
>
> DataFrame@5f9460d5#1{length:154,end=false}index.html
>
> DataFrame@61d516bc#1{length:22,end=true}index.html
>
> It seems the first data frame is split. I wanna know how it comes. Many
> Thanks

There are several factors at play here, from TLS to implementation details.

Do you have the Jetty debug logs for this request ?

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top