-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep TCP/TLS connection alive and close connection properly
* The client tools try to keep TCP/TLS connection now * The HTTP header "Connection: keep-alive" is sent now and when server does not reply with "Connection: close", then RHSM tools try to keep existing connection. It helps to reduce traffic between client tools and candlepin server. It also reduce significantly time of executing all commands. E.g. The time of registration is reduced from 20 seconds to 13 seconds * Connection using consumer authentication has to be recreated during registration, because new consumer certificate is installed * Tested with rhsm.service and it also works as expected * Improved little bit debugging of traffic and it is visible what type of authentication is used for communication with candlepin server. You can see the difference, when "subscription-manager version" is used vs e.g. "subscription-manager identity" * Do TLS shutdown handshake (tear down) at the end of communication with candlepin server
- Loading branch information
1 parent
dab2ac4
commit 95c78f1
Showing
6 changed files
with
104 additions
and
23 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 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