nghttpd: Add verbose output when SSL/TLS session is reused
This commit is contained in:
parent
afbb99ecf7
commit
6c8243f6d2
|
@ -571,6 +571,12 @@ int Http2Handler::tls_handshake() {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sessions_->get_config()->verbose) {
|
||||||
|
if (SSL_session_reused(ssl_)) {
|
||||||
|
std::cerr << "SSL/TLS session reused" << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue