summaryrefslogtreecommitdiffhomepage
path: root/src/misc/ngx_cpp_test_module.cpp
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2020-04-20 22:25:22 +0300
committerVladimir Homutov <vl@nginx.com>2020-04-20 22:25:22 +0300
commitbaacacd845f8f9408e4515359021df23f7468352 (patch)
tree0046856f7ec59f3ddf3f7a38884ac6f1ef0764e2 /src/misc/ngx_cpp_test_module.cpp
parent67aa3b91919096506b8504dc681264dd2f08fd0c (diff)
downloadnginx-baacacd845f8f9408e4515359021df23f7468352.tar.gz
nginx-baacacd845f8f9408e4515359021df23f7468352.tar.bz2
Respecting maximum packet size.
The header size macros for long and short packets were fixed to provide correct values in bytes. Currently the sending code limits frames so they don't exceed max_packet_size. But it does not account the case when a single frame can exceed the limit. As a result of this patch, big payload (CRYPTO and STREAM) will be split into a number of smaller frames that fit into advertised max_packet_size (which specifies final packet size, after encryption).
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions