Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3_uni.c @ 8855:a5aebd51e4c7 quic
QUIC: stream lingering.
Now ngx_quic_stream_t is decoupled from ngx_connection_t in a way that it
can persist after connection is closed by application. During this period,
server is expecting stream final size from client for correct flow control.
Also, buffered output is sent to client as more flow control credit is granted.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Sat, 05 Feb 2022 12:54:54 +0300 |
parents | 3436b441239b |
children | 37d5dddabaea |
comparison
equal
deleted
inserted
replaced
8854:e5f16d886c97 | 8855:a5aebd51e4c7 |
---|---|
292 NULL); | 292 NULL); |
293 ngx_http_v3_close_uni_stream(c); | 293 ngx_http_v3_close_uni_stream(c); |
294 } | 294 } |
295 } | 295 } |
296 | 296 |
297 | |
298 /* XXX async & buffered stream writes */ | |
299 | 297 |
300 ngx_connection_t * | 298 ngx_connection_t * |
301 ngx_http_v3_create_push_stream(ngx_connection_t *c, uint64_t push_id) | 299 ngx_http_v3_create_push_stream(ngx_connection_t *c, uint64_t push_id) |
302 { | 300 { |
303 u_char *p, buf[NGX_HTTP_V3_VARLEN_INT_LEN * 2]; | 301 u_char *p, buf[NGX_HTTP_V3_VARLEN_INT_LEN * 2]; |