forked from squid-cache/squid
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ConnStateData::sslServerBump creation and existance checks
- Currently when client first bumping mode selected at step1 we are not creating an Ssl::ServerBump object for ConnStateData object. But we are creating when we have to serve an error page using the client-first bumping mode. This patch fixes the ConnStateData::switchToHttps to always builds a Ssl::ServerBump mode for all bumping modes including client-first mode. - Inside ConnStateData::switchToHttps fix the check for ConnStateData::sslServerBump. If this member is already set here means that we are serving an error using client-first bumping mode. - Inside Ssl::PeekingPeerConnector replace any check for ConnStateData::sslServerBump existance with must clauses. This is must be always set when the Ssl::PeekingPeerConnector is called.
- Loading branch information
Showing
4 changed files
with
61 additions
and
47 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