summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_script.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-05-22 18:40:45 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-05-22 18:40:45 +0300
commitf1378601010b8f2857ac7c043ec4ac6d534543bb (patch)
tree85c917a4c5a6c616c192c20bebba25f152ec858a /src/http/ngx_http_script.c
parent66f736391ea5d0bc459c3f389a8cbfbb36fa9c86 (diff)
downloadnginx-f1378601010b8f2857ac7c043ec4ac6d534543bb.tar.gz
nginx-f1378601010b8f2857ac7c043ec4ac6d534543bb.tar.bz2
QUIC: unroll and inline ngx_quic_varint_len()/ngx_quic_build_int().
According to profiling, those two are among most frequently called, so inlining is generally useful, and unrolling should help with it. Further, this fixes undefined behaviour seen with invalid values. Inspired by Yu Liu.
Diffstat (limited to 'src/http/ngx_http_script.c')
0 files changed, 0 insertions, 0 deletions