Skip to content

Conversation

@masaori335
Copy link
Contributor

Fix #8273.

@masaori335 masaori335 added this to the 10.0.0 milestone Aug 27, 2021
@masaori335 masaori335 self-assigned this Aug 27, 2021
continue;
}
if ((ne->inactivity_timeout_in && ne->next_inactivity_timeout_at <= now) ||
(ne->active_timeout_in && ne->next_activity_timeout_at <= now)) {
Copy link
Contributor Author

@masaori335 masaori335 Aug 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bryancall Do you remember why inactivity_timeout_in/active_timeout_in are checked instead of next_inactivity_timeout_at/next_activity_timeout_at by a80b4f3 ?

@masaori335 masaori335 marked this pull request as ready for review August 27, 2021 01:21
@masaori335 masaori335 requested a review from bryancall as a code owner August 27, 2021 01:21
@shinrich
Copy link
Member

Just a comment on the autest failure of double before I kick it off again. Looks like another issue of traffic_server not able to listen on the ports automatically selected for it. Much like we were seeing in tls_hooks11 a few days ago. From manager.log

[Aug 26 18:15:57.865] traffic_manager NOTE: [TrafficManager] Setup complete
[Aug 26 18:15:58.866] traffic_manager NOTE: [ProxyStateSet] Traffic Server Args: ' -M'
[Aug 26 18:15:58.867] traffic_manager NOTE: [LocalManager::listenForProxy] Listening on port: 61258 (ipv4)
[Aug 26 18:15:58.867] traffic_manager NOTE: [LocalManager::listenForProxy] Listening on port: 61259 (ipv6)
[Aug 26 18:15:58.867] traffic_manager NOTE: [LocalManager::startProxy] Launching ts process
[Aug 26 18:15:59.869] traffic_manager NOTE: Relaunching proxy after 1 sec..
[Aug 26 18:16:00.870] traffic_manager NOTE: [ProxyStateSet] Traffic Server Args: ' -M'
[Aug 26 18:16:00.870] traffic_manager NOTE: [LocalManager::listenForProxy] Listening on port: 61258 (ipv4)
[Aug 26 18:16:00.870] traffic_manager NOTE: [LocalManager::listenForProxy] Listening on port: 61259 (ipv6)
[Aug 26 18:16:01.871] traffic_manager NOTE: Relaunching proxy after 2 sec..
[Aug 26 18:16:03.871] traffic_manager NOTE: [ProxyStateSet] Traffic Server Args: ' -M'
[Aug 26 18:16:03.871] traffic_manager NOTE: [LocalManager::listenForProxy] Listening on port: 61258 (ipv4)
[Aug 26 18:16:03.871] traffic_manager NOTE: [LocalManager::listenForProxy] Listening on port: 61259 (ipv6)
[Aug 26 18:16:04.873] traffic_manager NOTE: Relaunching proxy after 4 sec..
[Aug 26 18:16:08.356] traffic_manager NOTE: [TrafficManager] ==> Cleaning up and reissuing signal #2
[Aug 26 18:16:08.356] traffic_manager NOTE: [TrafficManager] ==> signal #2
[Aug 26 18:16:08.356] traffic_manager NOTE: [TrafficManager] ==> Cleaning up and reissuing signal #2
[Aug 26 18:16:08.357] traffic_manager NOTE: [TrafficManager] ==> signal #2

@apache apache deleted a comment from shinrich Oct 14, 2021
@bryancall
Copy link
Contributor

[approve ci]

Copy link
Member

@shinrich shinrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. I assume it is checking inactivity_timeout_in because the logic is checking whether the timeout is set at all. But if we are clearing the next timeout out while read/write is disabled, your change makes sense.

@masaori335 masaori335 merged commit 5e53758 into apache:master Oct 21, 2021
@bryancall bryancall modified the milestones: 10.0.0, 9.1.1 Oct 29, 2021
bryancall pushed a commit that referenced this pull request Oct 29, 2021
zwoop pushed a commit that referenced this pull request Nov 8, 2021
@zwoop
Copy link
Contributor

zwoop commented Nov 8, 2021

Cherry-picked to v9.2.x

@zwoop zwoop added the 9.2.0 label Nov 8, 2021
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 17, 2022
* asf/9.2.x: (50 commits)
  Updated ChangeLog
  Reject Transfer-Encoding in pre-HTTP/1.1 requests (apache#8451)
  Better TLS Secrets Truncation. (apache#8489)
  ssl_secret debug printing: print only the first 50 bytes (apache#8483)
  Define TS_HTTP_VALUE_BROTLI and TS_HTTP_LEN_BROTLI (apache#8477)
  Fix case of brotli (apache#8476)
  TSSslSecretSet: Update SSL_CTX TLS Secrets (apache#8368)
  Adding doc/README.md (apache#8420)
  Doc: fix typos in Strategy documentation (apache#8408)
  Refactors and promotes the Txn Control mechanism with Get() and Set() (apache#8428)
  tests: Add shbang to python scripts with a main (apache#8430)
  Remove empty tests/unit_tests directoy+makefile (apache#8429)
  Adds new API: TSVConnSslSniGet (apache#8313)
  rate_limit: convert to using TSVConnSslSniGet (apache#8414)
  Update the Multiplexer Docs for Multplexed HTTPS Connections (apache#8440)
  bigobj: use automake to build test utilities (apache#8441)
  Make sni.yaml errors cause an unrecoverable TS crash at startup. (apache#8208)
  Fix timeout checks of NetHandler::manage_active_queue() (apache#8287)
  Fix Multiplexer POST/PUT Body Handling (apache#8439)
  Document proxy.config.memory.max_usage (apache#8450)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

POST requests get INACTIVITY_TIMEOUT immediately

4 participants