if (answer.kind == Ssl::bumpTerminate || answer.kind == Ssl::bumpErr)
comm_close(connState->clientConnection->fd);
else {
- if (answer.kind != Ssl::bumpPeek || answer.kind == Ssl::bumpStare)
+ if (answer.kind != Ssl::bumpPeek && answer.kind != Ssl::bumpStare)
connState->sslBumpMode = Ssl::bumpBump;
else
connState->sslBumpMode = (Ssl::BumpMode)answer.kind;
/// BIO node to handle socket IO for squid server side
class ServerBio: public Bio {
public:
- explicit ServerBio(const int anFd): Bio(anFd), featuresSet(false), helloMsgSize(0), helloBuild(false), allowSplice(false), allowBump(false), holdWrite_(false), record_(false) {}
+ explicit ServerBio(const int anFd): Bio(anFd), featuresSet(false), helloMsgSize(0), helloBuild(false), allowSplice(false), allowBump(false), holdWrite_(false), record_(false), bumpMode_(bumpNone) {}
/// The ServerBio version of the Ssl::Bio::stateChanged method
virtual void stateChanged(const SSL *ssl, int where, int ret);
/// The ServerBio version of the Ssl::Bio::write method