Commit 25b58d5e authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Code cleanup

parent dd006f8a
...@@ -540,6 +540,16 @@ std::string ClientHandler::get_upstream_scheme() const ...@@ -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 { namespace {
void shutdown_cb(evutil_socket_t fd, short what, void *arg) 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) ...@@ -553,16 +563,6 @@ void shutdown_cb(evutil_socket_t fd, short what, void *arg)
} }
} // namespace } // 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) void ClientHandler::set_tls_renegotiation(bool f)
{ {
if(tls_renegotiation_ == false) { if(tls_renegotiation_ == false) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment