-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes #1563: Delete corresponding connections optionally on deletion of tcpListener and tcpConnector Signed-off-by: Gabor Dozsa <gabor.dozsa@ibm.com> * Add the TCP connection termination test to the system tests list Signed-off-by: Gabor Dozsa <gabor.dozsa@ibm.com> * Add SSL scenario to the TCP connections termination system test * Use Qdrouterd.SKManager to run skmanage commands * Fix python-checker warnings * Take the listener/connector lock for traversing the connections list * Make the new config flag global to the router * Change the name of the new config flag to dropTcpConnections * Fix comments * Make the the default value True for the new config flag * Take activation_lock and check raw_opened flag when trigger closing connection * Check if core_conn is not zero when trigger closing connection * Add pending_close flag to qd_tcp_connection struct to handle early termination * Fix data race warning for conn->core_conn * Couple conn->core_conn setup and delete with DEQ_INSERT(conn) and DEQ_REMOVE(conn), repectively * Try to remove a connection from the connections list only if core_conn is not zero * Only set closing flag in delete loop and wake up the connections * Fix and adjust system test timeouts * Only wake up the HEAD conn at delete. Wake up the NEXT conn in the close handler. * Check for conn->raw_conn in delete loop --------- Signed-off-by: Gabor Dozsa <gabor.dozsa@ibm.com> Co-authored-by: Gabor Dozsa <gabor.dozsa@ibm.com>
- Loading branch information
1 parent
6d04a7e
commit e50c2d5
Showing
6 changed files
with
582 additions
and
83 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
Oops, something went wrong.