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

Stream: removed QUIC support.
author Roman Arutyunyan <arut@nginx.com>
date Sun, 14 May 2023 12:05:35 +0400
parents 2706d27d2c76
children
line wrap: on
line diff
--- a/src/stream/ngx_stream_handler.c
+++ b/src/stream/ngx_stream_handler.c
@@ -129,10 +129,6 @@ ngx_stream_init_connection(ngx_connectio
     s->ssl = addr_conf->ssl;
 #endif
 
-#if (NGX_STREAM_QUIC)
-    s->ssl |= addr_conf->quic;
-#endif
-
     if (c->buffer) {
         s->received += c->buffer->last - c->buffer->pos;
     }
@@ -177,21 +173,6 @@ ngx_stream_init_connection(ngx_connectio
     s->start_sec = tp->sec;
     s->start_msec = tp->msec;
 
-#if (NGX_STREAM_QUIC)
-
-    if (addr_conf->quic) {
-        ngx_quic_conf_t  *qcf;
-
-        if (c->quic == NULL) {
-            qcf = ngx_stream_get_module_srv_conf(addr_conf->ctx,
-                                                 ngx_stream_quic_module);
-            ngx_quic_run(c, qcf);
-            return;
-        }
-    }
-
-#endif
-
     rev = c->read;
     rev->handler = ngx_stream_session_handler;