mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 13:59:00 +08:00
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:
parent
c9cbd2f8e7
commit
fc3f04b111
@ -2481,6 +2481,7 @@ ngx_quic_payload_handler(ngx_connection_t *c, ngx_quic_header_t *pkt)
|
|||||||
c->log->action = "parsing frames";
|
c->log->action = "parsing frames";
|
||||||
|
|
||||||
ngx_memzero(&buf, sizeof(ngx_buf_t));
|
ngx_memzero(&buf, sizeof(ngx_buf_t));
|
||||||
|
buf.temporary = 1;
|
||||||
|
|
||||||
chain.buf = &buf;
|
chain.buf = &buf;
|
||||||
chain.next = NULL;
|
chain.next = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user