Github user jacksontj commented on a diff in the pull request:
    --- Diff: proxy/ ---
    @@ -1053,15 +1053,14 @@ int
     INKVConnInternal::handle_event(int event, void *edata)
    -  if (m_deleted) {
    -    if (m_deletable) {
    -      this->mutex = NULL;
    -      m_read_vio.set_continuation(NULL);
    -      m_write_vio.set_continuation(NULL);
    -    }
    -  } else {
    +  // If the VConn isn't deleted, call the handler
    +  if (!m_deleted) {
         return m_event_func((TSCont) this, (TSEvent) event, edata);
    +  } else {
    +    // if the VConn is deleted, and we are in DEBUG mode-- we should assert
    +    // because this means that the VConn was cleaned up before all the 
    +    // (timeouts, etc.) where canceled.
    +    ink_assert("event on deleted INKVConnInternal");
    --- End diff --
    I think it might also be worthwhile to put a log line (warning?) here for 
non-debug builds. Thoughts?

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