aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2022-04-20 16:01:17 +0400
committerRoman Arutyunyan <arut@nginx.com>2022-04-20 16:01:17 +0400
commit9d81ef744cdaacf1e52bcaec4224d375af5ba59b (patch)
treedb3f8a9fc1381a2c848d934fd1c7f9bbaf1a9dca /src/core
parentc24c27bb074b571fc9e9d75e19be31b83c69c253 (diff)
downloadnginx-9d81ef744cdaacf1e52bcaec4224d375af5ba59b.tar.gz
nginx-9d81ef744cdaacf1e52bcaec4224d375af5ba59b.zip
QUIC: separate UDP framework for QUIC.
Previously, QUIC used the existing UDP framework, which was created for UDP in Stream. However the way QUIC connections are created and looked up is different from the way UDP connections in Stream are created and looked up. Now these two implementations are decoupled.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_connection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 4a7d2fe79..cbd5803be 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -72,10 +72,6 @@ ngx_create_listening(ngx_conf_t *cf, struct sockaddr *sockaddr,
ngx_memcpy(ls->addr_text.data, text, len);
-#if !(NGX_WIN32)
- ngx_rbtree_init(&ls->rbtree, &ls->sentinel, ngx_udp_rbtree_insert_value);
-#endif
-
ls->fd = (ngx_socket_t) -1;
ls->type = SOCK_STREAM;