comparison src/http/v3/ngx_http_v3_streams.c @ 8796:1fec68e322d0 quic

HTTP/3: client GOAWAY support.
author Roman Arutyunyan <arut@nginx.com>
date Fri, 11 Jun 2021 13:24:24 +0300
parents f4d3f5d93a82
children 0ac25efb2da3
comparison
equal deleted inserted replaced
8795:278ab0ed24f2 8796:1fec68e322d0
702 return NGX_OK; 702 return NGX_OK;
703 } 703 }
704 704
705 705
706 ngx_int_t 706 ngx_int_t
707 ngx_http_v3_goaway(ngx_connection_t *c, uint64_t push_id)
708 {
709 ngx_http_v3_session_t *h3c;
710
711 h3c = ngx_http_v3_get_session(c);
712
713 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, "http3 GOAWAY:%uL", push_id);
714
715 h3c->goaway_push_id = push_id;
716
717 return NGX_OK;
718 }
719
720
721 ngx_int_t
707 ngx_http_v3_cancel_push(ngx_connection_t *c, uint64_t push_id) 722 ngx_http_v3_cancel_push(ngx_connection_t *c, uint64_t push_id)
708 { 723 {
709 ngx_queue_t *q; 724 ngx_queue_t *q;
710 ngx_http_request_t *r; 725 ngx_http_request_t *r;
711 ngx_http_v3_push_t *push; 726 ngx_http_v3_push_t *push;