-
Notifications
You must be signed in to change notification settings - Fork 851
Fix timeout checks of NetHandler::manage_active_queue() #8287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| continue; | ||
| } | ||
| if ((ne->inactivity_timeout_in && ne->next_inactivity_timeout_at <= now) || | ||
| (ne->active_timeout_in && ne->next_activity_timeout_at <= now)) { |
There was a problem hiding this comment.
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 ?
|
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 |
|
[approve ci] |
shinrich
left a comment
There was a problem hiding this 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.
(cherry picked from commit 5e53758)
(cherry picked from commit 5e53758)
|
Cherry-picked to v9.2.x |
* 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) ...
Fix #8273.