Data frame size sent by server

Muhui Jiang jiangmuhui at gmail.com
Sun Oct 18 08:02:04 UTC 2015


Hi

I made a request to nginx 1.9.5 for a large file. Here is a part of debug
file:

2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 9
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 8192
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 9
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 8174
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL to write: 16384
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL_write: 16384
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 18
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 9
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 8192
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 9
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 8156
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL to write: 16384
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL_write: 16384
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 36
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 9
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL buf copy: 8182
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL to write: 8227
2015/10/18 15:55:34 [debug] 10707#0: *116 SSL_write: 8227
2015/10/18 15:55:34 [debug] 10707#0: *116 http2:1 DATA frame
00007F942205F7A0 was sent
2015/10/18 15:55:34 [debug] 10707#0: *116 http2 frame sent:
00007F942205F7A0 sid:1 bl:0 len:8192
2015/10/18 15:55:34 [debug] 10707#0: *116 http2:1 DATA frame
00007F942205F8A8 was sent
2015/10/18 15:55:34 [debug] 10707#0: *116 http2 frame sent:
00007F942205F8A8 sid:1 bl:0 len:8192
2015/10/18 15:55:34 [debug] 10707#0: *116 http2:1 DATA frame
00007F942205F9B0 was sent
2015/10/18 15:55:34 [debug] 10707#0: *116 http2 frame sent:
00007F942205F9B0 sid:1 bl:0 len:8192
2015/10/18 15:55:34 [debug] 10707#0: *116 http2:1 DATA frame
00007F942205FAB8 was sent
2015/10/18 15:55:34 [debug] 10707#0: *116 http2 frame sent:
00007F942205FAB8 sid:1 bl:0 len:8192
2015/10/18 15:55:34 [debug] 10707#0: *116 http2:1 DATA frame
00007F942205FBC0 was sent
2015/10/18 15:55:34 [debug] 10707#0: *116 http2 frame sent:
00007F942205FBC0 sid:1 bl:0 len:8182

It seems that the default max frame size is 8192. But I don't under stand
the buffer mechanism. I marked them in red color. why there is a very small
buffer 9, and why some value is 8174, 8156.

BTW: what is the 116 means in the beginning of every row as below:
2015/10/18 15:55:34 [debug] 10707#0: *116 http2 frame sent:
00007F942205FBC0 sid:1 bl:0 len:8182
Many Thanks

Best Regards
Muhui Jiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151018/bffcffa3/attachment.html>


More information about the nginx mailing list