https://bz.apache.org/bugzilla/show_bug.cgi?id=66646

--- Comment #8 from Stefan Eissing <ste...@eissing.org> ---
Thanks Barnim,

I was able to reproduce the problem and write a fix. Added as r1910386. Also,
this available in <https://github.com/icing/mod_h2/releases/tag/v2.0.19>.

Looking forward to hear how this runs on your systems.

Again, thanks for all the details provided which made this fix possible.

Stefan


Background:

What you were seeing were the results of a recursive call into the connection
output filters. The destruction of the H2EOS bucket for the last request on the
connection could trigger an immediate connection shutdown.

This shutdown, on certain conditions, attempted to write more data onto the
connection *while the output on that connection* was still being handled.

This led to the effect you described that the buckets after the H2EOS became
corrupted. This happened because the *next had been cleaned up in the recursive
call that was made.

The fix does two things: it removes the event handling that triggered the
second write attempt and it also adds a check to the output handling so that
recursive invocations are prevented.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to