# HG changeset patch
# User chronolaw <chronolaw@gmail.com>
# Date 1539836512 -28800
# Thu Oct 18 12:21:52 2018 +0800
# Node ID 7f75bc03620617a93185935a8f04db6e018c20e5
# Parent 8b68d50090e4f134a35da60146fefd5e63770759
Fix the bug of udp rbtree init in ngx_set_inherited_sockets
diff -r 8b68d50090e4 -r 7f75bc036206 src/core/ngx_connection.c
|
a
|
b
|
|
| 214 | 214 | |
| 215 | 215 | ls[i].addr_text.len = len; |
| 216 | 216 | |
| | 217 | #if !(NGX_WIN32) |
| | 218 | ngx_rbtree_init(&ls[i].rbtree, &ls[i].sentinel, ngx_udp_rbtree_insert_value); |
| | 219 | #endif |
| | 220 | |
| 217 | 221 | ls[i].backlog = NGX_LISTEN_BACKLOG; |
| 218 | 222 | |
| 219 | 223 | olen = sizeof(int); |