comparison src/event/ngx_event_quic.c @ 8659:d9f673d18e9b quic

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.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 08 Dec 2020 14:44:41 +0000
parents 0af4ec6d1f92
children 6201cef77b1d
comparison
equal deleted inserted replaced
8658:0af4ec6d1f92 8659:d9f673d18e9b
2479 while (p < end) { 2479 while (p < end) {
2480 2480
2481 c->log->action = "parsing frames"; 2481 c->log->action = "parsing frames";
2482 2482
2483 ngx_memzero(&buf, sizeof(ngx_buf_t)); 2483 ngx_memzero(&buf, sizeof(ngx_buf_t));
2484 buf.temporary = 1;
2484 2485
2485 chain.buf = &buf; 2486 chain.buf = &buf;
2486 chain.next = NULL; 2487 chain.next = NULL;
2487 frame.data = &chain; 2488 frame.data = &chain;
2488 2489