diff src/event/quic/ngx_event_quic_output.c @ 9024:f2925c80401c quic

QUIC: avoided pool usage in ngx_quic_protection.c.
author Vladimir Homutov <vl@nginx.com>
date Wed, 27 Jul 2022 17:16:40 +0400
parents e5f16d886c97
children e50f77a2d0b0
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_output.c
+++ b/src/event/quic/ngx_event_quic_output.c
@@ -961,7 +961,7 @@ ngx_quic_send_early_cc(ngx_connection_t 
         return NGX_ERROR;
     }
 
-    if (ngx_quic_keys_set_initial_secret(c->pool, pkt.keys, &inpkt->dcid)
+    if (ngx_quic_keys_set_initial_secret(pkt.keys, &inpkt->dcid, c->log)
         != NGX_OK)
     {
         return NGX_ERROR;