comparison 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
comparison
equal deleted inserted replaced
9023:d8b3851f172c 9024:f2925c80401c
959 pkt.keys = ngx_quic_keys_new(c->pool); 959 pkt.keys = ngx_quic_keys_new(c->pool);
960 if (pkt.keys == NULL) { 960 if (pkt.keys == NULL) {
961 return NGX_ERROR; 961 return NGX_ERROR;
962 } 962 }
963 963
964 if (ngx_quic_keys_set_initial_secret(c->pool, pkt.keys, &inpkt->dcid) 964 if (ngx_quic_keys_set_initial_secret(pkt.keys, &inpkt->dcid, c->log)
965 != NGX_OK) 965 != NGX_OK)
966 { 966 {
967 return NGX_ERROR; 967 return NGX_ERROR;
968 } 968 }
969 969