comparison src/event/quic/ngx_event_quic.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 c2f5d79cde64
children e50f77a2d0b0
comparison
equal deleted inserted replaced
9023:d8b3851f172c 9024:f2925c80401c
323 if (qc->tp.retry_scid.data == NULL) { 323 if (qc->tp.retry_scid.data == NULL) {
324 return NULL; 324 return NULL;
325 } 325 }
326 } 326 }
327 327
328 if (ngx_quic_keys_set_initial_secret(c->pool, qc->keys, &pkt->dcid) 328 if (ngx_quic_keys_set_initial_secret(qc->keys, &pkt->dcid, c->log)
329 != NGX_OK) 329 != NGX_OK)
330 { 330 {
331 return NULL; 331 return NULL;
332 } 332 }
333 333