Skip to content

Commit f2de990

Browse files
committed
Child listeners don't inheret the parent's children
1 parent c4df323 commit f2de990

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/listen.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,7 @@ static int dual_tcp_accept(rad_listen_t *listener)
12611261
memcpy(this->data, listener->data, sizeof(*sock));
12621262
memcpy(this, listener, sizeof(*this));
12631263
this->next = NULL;
1264+
this->children = NULL;
12641265
this->data = sock; /* fix it back */
12651266
#ifdef WITH_TCP
12661267
this->nonblock = listener->nonblock;

0 commit comments

Comments
 (0)