bneradt commented on PR #13846: URL: https://github.com/apache/trafficserver/pull/13846#issuecomment-6644031194
Thanks, Bryan. Fixed in 9e292d3515 (rebased on master 82937ce6cc). **Crash with a later plugin on the same hook:** `net_read_io` now returns without closing while `is_invoked_state()` is true, as you suggested, so the rejected connection closes on the later plugin's reenable instead of before it. This matches the existing `SSL_WAIT_FOR_HOOK` handling, which also waits for `reenable()` rather than rescheduling. **Regression coverage:** a new `test_tls_hooks_reject_before_delaying_plugin[vconn_start|client_hello|cert]` loads `ssl_hook_test.so` (`-d=1`, `-client_hello=1`, `-cert=1`, no `-close`) after `tls_hook_reject.so`. It requires the close to come after the second plugin's `Callback reenable`, and that traffic_server did not crash. | Tree | Result | |---|---| | df7de377c5 rebased, plus the new test | all 3 new cases: traffic_server exits with SIGSEGV (-11) when `ssl_hook_test.so` reenables | | 9e292d3515 | all 9 `test_tls_hooks_reject*` cases pass. 72 `tls_hooks`, TLS verify, renegotiation, `abuse_shield`, `rate_limit` and `sni_limiter` tests pass (`ci-fedora-urtest` build) | **Nits:** the GPT-6 co-author trailer now has an address, and the PR description now says Uranium test and describes the new case. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
