Github user gtenev commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/1100#discussion_r83508421
--- Diff: proxy/http2/Http2ConnectionState.cc ---
@@ -936,30 +940,70 @@ Http2ConnectionState::cleanup_streams()
void
Http2ConnectionState::delete_stream(Http2Stream *stream)
{
+ // The following check allows the method to be called safely on already
deleted streams.
+ if (deleted_from_active_streams(stream)) {
+ return;
+ }
+
--- End diff --
OK, needed that for calling `delete_stream()` on already deleted streams
for my âcatch-all-delete-streamâ calls (6.2.1).
Also grouped some of the `DLL<>` + `client_streams_count` updates in
separate functions.
Looking at how the master changed since I started working on this I may
need to revert that to be consistent with master.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---