From 25b58d5e22cedb0dd92887aa44b100111b14eae2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 12 Jun 2014 23:37:33 +0900 Subject: [PATCH] nghttpx: Code cleanup --- src/shrpx_client_handler.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/shrpx_client_handler.cc b/src/shrpx_client_handler.cc index 3318a7a7..2227ba42 100644 --- a/src/shrpx_client_handler.cc +++ b/src/shrpx_client_handler.cc @@ -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) {