mirror of https://github.com/aria2/aria2
Don't log "TLS Handshaking" twice or more
parent
c2ae77dff4
commit
98d88ec6d5
|
@ -834,9 +834,9 @@ bool SocketCore::tlsHandshake(TLSContext* tlsctx, const std::string& hostname)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
secure_ = A2_TLS_HANDSHAKING;
|
secure_ = A2_TLS_HANDSHAKING;
|
||||||
|
A2_LOG_DEBUG("TLS Handshaking");
|
||||||
// Fall through
|
// Fall through
|
||||||
case A2_TLS_HANDSHAKING:
|
case A2_TLS_HANDSHAKING:
|
||||||
A2_LOG_DEBUG("TLS Handshaking");
|
|
||||||
if(tlsctx->getSide() == TLS_CLIENT) {
|
if(tlsctx->getSide() == TLS_CLIENT) {
|
||||||
rv = tlsSession_->tlsConnect(hostname, handshakeError);
|
rv = tlsSession_->tlsConnect(hostname, handshakeError);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue