Has anyone used redirection_enabled recently (in the last couple years?). I'm debugging an ink_release_assert reported by someone running in production. But when I run even the most basic 301 through it in debug mode, I get ink_asserts in HttpSM::state_cache_open_read(). It is checking that server_entry == NULL before it assigns server_entry.

In production mode, these asserts are ignored, and the server data structures set up when talking to the original server are overwritten and presumably leaking memory. There is logic that sets t_state.api_release_server_session which should later cause release_server_session() to be called. The flag is set, but release_server_session() is never called.

I did most of my testing on variants of 5.x. But Alan had 4.2.x and 3.2.x builds laying around, and we see the same asserts on those builds as well.

I assume the logic leading to the cleanup call got messed up somewhere along the way. But since it has been that way for so long, perhaps we are not setting up the redirect_enabled correctly or missing something else obvious. Please let me know of you are actively using this feature successfully.

Thanks,
Susan

Reply via email to