mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
http2: send all stream reset types to other connection
This commit is contained in:
parent
735b8e35c9
commit
50e8fc2804
@ -209,7 +209,6 @@ class Http2Layer(base.Layer):
|
|||||||
def _handle_stream_reset(self, eid, event, is_server, other_conn):
|
def _handle_stream_reset(self, eid, event, is_server, other_conn):
|
||||||
if eid in self.streams:
|
if eid in self.streams:
|
||||||
self.streams[eid].kill()
|
self.streams[eid].kill()
|
||||||
if event.error_code == h2.errors.ErrorCodes.CANCEL:
|
|
||||||
if is_server:
|
if is_server:
|
||||||
other_stream_id = self.streams[eid].client_stream_id
|
other_stream_id = self.streams[eid].client_stream_id
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user