Skip to content

Commit 094d722

Browse files
ndptechalandekok
authored andcommitted
Child listeners don't inheret the parent's children
1 parent 1dcc3c2 commit 094d722

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
@@ -951,6 +951,7 @@ static int dual_tcp_accept(rad_listen_t *listener)
951951
memcpy(this->data, listener->data, sizeof(*sock));
952952
memcpy(this, listener, sizeof(*this));
953953
this->next = NULL;
954+
this->children = NULL;
954955
this->data = sock; /* fix it back */
955956

956957
sock->parent = listener->data;

0 commit comments

Comments
 (0)