nghttpx: Code cleanup
This commit is contained in:
parent
dd006f8a79
commit
25b58d5e22
|
@ -540,6 +540,16 @@ std::string ClientHandler::get_upstream_scheme() const
|
|||
}
|
||||
}
|
||||
|
||||
void ClientHandler::set_tls_handshake(bool f)
|
||||
{
|
||||
tls_handshake_ = f;
|
||||
}
|
||||
|
||||
bool ClientHandler::get_tls_handshake() const
|
||||
{
|
||||
return tls_handshake_;
|
||||
}
|
||||
|
||||
namespace {
|
||||
void shutdown_cb(evutil_socket_t fd, short what, void *arg)
|
||||
{
|
||||
|
@ -553,16 +563,6 @@ void shutdown_cb(evutil_socket_t fd, short what, void *arg)
|
|||
}
|
||||
} // namespace
|
||||
|
||||
void ClientHandler::set_tls_handshake(bool f)
|
||||
{
|
||||
tls_handshake_ = f;
|
||||
}
|
||||
|
||||
bool ClientHandler::get_tls_handshake() const
|
||||
{
|
||||
return tls_handshake_;
|
||||
}
|
||||
|
||||
void ClientHandler::set_tls_renegotiation(bool f)
|
||||
{
|
||||
if(tls_renegotiation_ == false) {
|
||||
|
|
Loading…
Reference in New Issue