QUIC: set the temporary flag for input frame buffers.

Missing flag prevented frame data from being copied as the buffer was not
considered a memory buffer.
This commit is contained in:
Roman Arutyunyan 2020-12-08 14:44:41 +00:00
parent c9cbd2f8e7
commit fc3f04b111

View File

@ -2481,6 +2481,7 @@ ngx_quic_payload_handler(ngx_connection_t *c, ngx_quic_header_t *pkt)
c->log->action = "parsing frames";
ngx_memzero(&buf, sizeof(ngx_buf_t));
buf.temporary = 1;
chain.buf = &buf;
chain.next = NULL;