mirror of
https://github.com/sogou/workflow.git
synced 2026-10-28 19:19:22 +08:00
Unify codes
This commit is contained in:
@@ -550,10 +550,7 @@ CommMessageIn *ComplexHttpProxyTask::message_in()
|
||||
return get_ssl_handshaker();
|
||||
|
||||
auto *msg = (ProtocolMessage *)this->ComplexHttpTask::message_in();
|
||||
if (is_ssl_)
|
||||
return get_ssl_wrapper(msg);
|
||||
|
||||
return msg;
|
||||
return is_ssl_ ? get_ssl_wrapper(msg) : msg;
|
||||
}
|
||||
|
||||
int ComplexHttpProxyTask::keep_alive_timeout()
|
||||
|
||||
Reference in New Issue
Block a user