Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/1083#discussion_r82416759 --- Diff: proxy/http/HttpSM.cc --- @@ -5841,7 +5843,9 @@ HttpSM::attach_server_session(HttpServerSession *s) UnixNetVConnection *server_vc = dynamic_cast<UnixNetVConnection *>(server_session->get_netvc()); UnixNetVConnection *client_vc = (UnixNetVConnection *)(ua_session->get_netvc()); SSLNetVConnection *ssl_vc = dynamic_cast<SSLNetVConnection *>(client_vc); - bool associated_connection = false; + + ink_release_assert(!server_vc || !client_vc || server_vc->thread == client_vc->thread); --- End diff -- Can you please add a comment to document the invariant this is enforcing?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---