diff options
author | Roman Arutyunyan <arut@nginx.com> | 2020-12-08 14:44:41 +0000 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2020-12-08 14:44:41 +0000 |
commit | fc3f04b11198dc2a352fd6e5c1e5d7cb6c2c957a (patch) | |
tree | 1694274abe62f2c26bc3d657c210e8a1afee1895 /src | |
parent | c9cbd2f8e752be5eb788ae085f9e7c3ee2890671 (diff) | |
download | nginx-fc3f04b11198dc2a352fd6e5c1e5d7cb6c2c957a.tar.gz nginx-fc3f04b11198dc2a352fd6e5c1e5d7cb6c2c957a.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/event/ngx_event_quic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index f923ebe47..95f92ed21 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -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; |