diff options
author | Roman Arutyunyan <arut@nginx.com> | 2023-05-14 12:05:35 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2023-05-14 12:05:35 +0400 |
commit | 779bfcff5f7544494c7c85ac73f41a033e749528 (patch) | |
tree | 3b2eb813fdff62f2b6b45d36a550a660ba64ad1a /src/stream/ngx_stream_proxy_module.c | |
parent | 089d1f653001419ea9d0b463434a89007ec805bd (diff) | |
download | nginx-779bfcff5f7544494c7c85ac73f41a033e749528.tar.gz nginx-779bfcff5f7544494c7c85ac73f41a033e749528.zip |
Stream: removed QUIC support.
Diffstat (limited to 'src/stream/ngx_stream_proxy_module.c')
-rw-r--r-- | src/stream/ngx_stream_proxy_module.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/stream/ngx_stream_proxy_module.c b/src/stream/ngx_stream_proxy_module.c index 20b1adce3..ed275c009 100644 --- a/src/stream/ngx_stream_proxy_module.c +++ b/src/stream/ngx_stream_proxy_module.c @@ -1772,21 +1772,6 @@ ngx_stream_proxy_process(ngx_stream_session_t *s, ngx_uint_t from_upstream, if (dst->type == SOCK_STREAM && pscf->half_close && src->read->eof && !u->half_closed && !dst->buffered) { - -#if (NGX_STREAM_QUIC) - if (dst->quic) { - - if (ngx_quic_shutdown_stream(dst, NGX_WRITE_SHUTDOWN) - != NGX_OK) - { - ngx_stream_proxy_finalize(s, - NGX_STREAM_INTERNAL_SERVER_ERROR); - return; - } - - } else -#endif - if (ngx_shutdown_socket(dst->fd, NGX_WRITE_SHUTDOWN) == -1) { ngx_connection_error(c, ngx_socket_errno, ngx_shutdown_socket_n " failed"); |