Github user zwoop commented on a diff in the pull request:
    --- Diff: proxy/http2/ ---
    @@ -675,6 +675,17 @@ Http2Stream::destroy()
    +  // Current Http2ConnectionState implementation uses a memory pool for 
instantiating streams and DLL<> stream_list for storing
    +  // active streams. Destroying a stream before deleting it from 
stream_list and then creating a new one + reusing the same chunk
    +  // from the memory pool right away always leads to destroying the DLL 
structure (deadlocks, inconsistencies).
    +  // The following is meant as a safety net since the consequences are 
disastrous. Until the design/implementation changes it seems
    +  // less error prone to (double) delete before destroying (noop if 
already deleted).
    +  if (parent) {
    +    static_cast<Http2ClientSession 
    +    Warning("Http2Stream was about to be deallocated without removing it 
from the active stream list");
    --- End diff --
    We are sure this is not going to produce a lot of warnings, right ? :)

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 or file a JIRA ticket
with INFRA.

Reply via email to