You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/08/29 07:50:30 UTC
[GitHub] [trafficserver] oknet commented on pull request #7134: Do not lose original inactivity timeout on disable
oknet commented on pull request #7134:
URL: https://github.com/apache/trafficserver/pull/7134#issuecomment-683252794
@shinrich
The `InactivityCop` will set default inactivity timeout if `next_inactivity_timeout_at` was set to `0`
https://github.com/apache/trafficserver/blob/c8c9540b04b08d04bd44f6b8c7aa5d75d4a9e1a8/iocore/net/UnixNet.cc#L72-L78
The `next_inactivity_timeout_at` will be reset with `net_activity()` if you do not clear `inactivity_timeout_in`.
https://github.com/apache/trafficserver/blob/c8c9540b04b08d04bd44f6b8c7aa5d75d4a9e1a8/iocore/net/UnixNetVConnection.cc#L63-L73
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org