Push QUIC stream frames in send() and cleanup handler.

This commit is contained in:
Roman Arutyunyan 2020-03-27 19:08:24 +03:00
parent 50e32ed41d
commit 6bc0ecd946

View file

@ -1649,6 +1649,8 @@ ngx_quic_stream_send(ngx_connection_t *c, u_char *buf, size_t size)
ngx_quic_queue_frame(qc, frame);
ngx_quic_output(pc);
return size;
}
@ -1703,6 +1705,8 @@ ngx_quic_stream_cleanup_handler(void *data)
ngx_sprintf(frame->info, "stream %xi fin=1 level=%d", qs->id, frame->level);
ngx_quic_queue_frame(qc, frame);
(void) ngx_quic_output(pc);
}