comparison src/http/v3/ngx_http_v3_filter_module.c @ 8497:1fec68e322d0 quic

HTTP/3: client GOAWAY support.
author Roman Arutyunyan <arut@nginx.com>
date Fri, 11 Jun 2021 13:24:24 +0300
parents 557dc6a06ba6
children 0ac25efb2da3
comparison
equal deleted inserted replaced
8496:278ab0ed24f2 8497:1fec68e322d0
803 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, 803 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
804 "http3 abort pushes due to max_push_id"); 804 "http3 abort pushes due to max_push_id");
805 return NGX_ABORT; 805 return NGX_ABORT;
806 } 806 }
807 807
808 if (h3c->goaway_push_id != (uint64_t) -1) {
809 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
810 "http3 abort pushes due to goaway");
811 return NGX_ABORT;
812 }
813
808 if (h3c->npushing >= h3scf->max_concurrent_pushes) { 814 if (h3c->npushing >= h3scf->max_concurrent_pushes) {
809 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, 815 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
810 "http3 abort pushes due to max_concurrent_pushes"); 816 "http3 abort pushes due to max_concurrent_pushes");
811 return NGX_ABORT; 817 return NGX_ABORT;
812 } 818 }