]> git.kaiwu.me - nginx.git/commit
Got rid of memory allocation in decryption.
authorVladimir Homutov <vl@nginx.com>
Thu, 26 Mar 2020 13:54:46 +0000 (16:54 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 26 Mar 2020 13:54:46 +0000 (16:54 +0300)
commit7d408f1bba61998ef6e0cb5296a25433c6a2f275
treecde355f411522b30963f1b3b29a27dd10b3b6a8f
parent7c6e6426c67ec19603e2aeaa6024036d27659c4a
Got rid of memory allocation in decryption.

Static buffers are used instead in functions where decryption takes place.

The pkt->plaintext points to the beginning of a static buffer.
The pkt->payload.data points to decrypted data actual start.
src/event/ngx_event_quic.c
src/event/ngx_event_quic_protection.c
src/event/ngx_event_quic_protection.h
src/event/ngx_event_quic_transport.h