don't close the connection upon a cancelled request
This commit is contained in:
parent
00c0f48b02
commit
ff7bed720a
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class ClientSession(BaseClientSession):
|
|||
raise
|
||||
except asyncio.CancelledError:
|
||||
log.info("cancelled sending %s to %s:%i", method, *self.server)
|
||||
self.synchronous_close()
|
||||
# self.synchronous_close()
|
||||
raise
|
||||
finally:
|
||||
self.pending_amount -= 1
|
||||
|
|
Loading…
Reference in a new issue