The official NGINX Open Source repository.
Go to file
Vladimir Homutov 715d8a250b Removed memory allocations from encryption code.
+ ngx_quic_encrypt():
     - no longer accepts pool as argument
     - pkt is 1st arg
     - payload is passed as pkt->payload
     - performs encryption to the specified static buffer

 + ngx_quic_create_long/short_packet() functions:
    - single buffer for everything, allocated by caller
    - buffer layout is: [ ad | payload | TAG ]
      the result is in the beginning of buffer with proper length
    - nonce is calculated on stack
    - log is passed explicitly, pkt is 1st arg
    - no more allocations inside

 + ngx_quic_create_long_header():
    - args changed: no need to pass str_t

 + added ngx_quic_create_short_header()
2020-03-26 12:11:50 +03:00
auto Refactored HTTP/3 parser. 2020-03-18 13:46:35 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2019-06-30 10:39:01 +03:00
docs nginx-1.17.8-RELEASE 2020-01-21 16:39:41 +03:00
misc Updated OpenSSL used for win32 builds. 2019-09-24 16:30:03 +03:00
src Removed memory allocations from encryption code. 2020-03-26 12:11:50 +03:00
.hgtags release-1.17.8 tag 2020-01-21 16:39:42 +03:00