mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
fix syntax
This commit is contained in:
parent
bee1201918
commit
d5aa4f017d
@ -160,7 +160,8 @@ class Http2Layer(Layer):
|
|||||||
elif isinstance(event, StreamReset):
|
elif isinstance(event, StreamReset):
|
||||||
self.streams[eid].zombie = time.time()
|
self.streams[eid].zombie = time.time()
|
||||||
self.client_reset_streams.append(self.streams[eid].client_stream_id)
|
self.client_reset_streams.append(self.streams[eid].client_stream_id)
|
||||||
self.server_reset_streams.append(self.streams[eid].server_stream_id) if self.streams[eid].server_stream_id
|
if self.streams[eid].server_stream_id:
|
||||||
|
self.server_reset_streams.append(self.streams[eid].server_stream_id)
|
||||||
if eid in self.streams and event.error_code == 0x8:
|
if eid in self.streams and event.error_code == 0x8:
|
||||||
if is_server:
|
if is_server:
|
||||||
other_stream_id = self.streams[eid].client_stream_id
|
other_stream_id = self.streams[eid].client_stream_id
|
||||||
|
Loading…
Reference in New Issue
Block a user