mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 20:13:05 +02:00
AppServer: minor debug logging change of E_GENERAL_TIMEOUT
At debug_level 1, only show timeouts if they occur within a request/reply transaction, not if they are triggered outside of a transaction by the expiration of keepalive. Signed-off-by: James Yonan <james@openvpn.net>
This commit is contained in:
parent
f7e8719852
commit
111cabd518
@ -83,6 +83,16 @@ namespace openvpn {
|
||||
return out_state == S_DEFERRED;
|
||||
}
|
||||
|
||||
bool http_in_started() const
|
||||
{
|
||||
return rr_content_bytes > CONTENT_LENGTH_TYPE(0);
|
||||
}
|
||||
|
||||
bool http_out_started() const
|
||||
{
|
||||
return out_state != S_PRE;
|
||||
}
|
||||
|
||||
const typename REQUEST_REPLY::State& request_reply() const {
|
||||
return rr_obj;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user