Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions iocore/net/UnixNetVConnection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,11 @@ UnixNetVConnection::mainEvent(int event, Event *e)
Event **signal_timeout = &t;

switch (event) {
// Treating immediate as inactivity timeout for any
// deprecated remaining immediates. The previous code was using EVENT_INTERVAL
// and EVENT_IMMEDIATE to distinguish active and inactive timeouts.
// There appears to be some stray EVENT_IMMEDIATEs floating around
case EVENT_IMMEDIATE:
case VC_EVENT_INACTIVITY_TIMEOUT:
signal_event = VC_EVENT_INACTIVITY_TIMEOUT;
signal_timeout_at = &next_inactivity_timeout_at;
Expand Down