mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 04:52:25 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue