diff src/stream/ngx_stream_proxy_module.c @ 9106:113e2438dbd4 quic

Stream: removed QUIC support.
author Roman Arutyunyan <arut@nginx.com>
date Sun, 14 May 2023 12:05:35 +0400
parents 0af598651e33
children
line wrap: on
line diff
--- 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_sess
         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");