mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 02:37:15 +00:00
always exhaust layer commands, fix #4682
This commit is contained in:
parent
bdaa2da064
commit
cd257e040d
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ class ConnectionHandler(metaclass=abc.ABCMeta):
|
|||
)
|
||||
self.transports[command.connection] = ConnectionIO(handler=handler)
|
||||
elif isinstance(command, commands.ConnectionCommand) and command.connection not in self.transports:
|
||||
return # The connection has already been closed.
|
||||
pass # The connection has already been closed.
|
||||
elif isinstance(command, commands.SendData):
|
||||
writer = self.transports[command.connection].writer
|
||||
assert writer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue