nghttpx: Code cleanup

This commit is contained in:
Tatsuhiro Tsujikawa 2014-06-12 23:37:33 +09:00
parent dd006f8a79
commit 25b58d5e22
1 changed files with 10 additions and 10 deletions

View File

@ -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) {