-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the race between tfw_sock_clnt_new() callback and
tfw_sock_clnt_start(): while a new child socket is created and initialized by the listening socket, the listening socket, whcih was removed from the reloaded configuration, is freed during the reconfiguration. There actually was no requirement to use the listening socket in the child initialization. The patch removes `listener` from SsProto as doubling TfwListenSock->sk, so all connections will use smaller memory. Also remove the unused synchronous sockets tests.
- Loading branch information
1 parent
2f3a6a3
commit e8cfb48
Showing
11 changed files
with
66 additions
and
1,450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.