mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-02 13:43:11 +00:00
Fix WS transport when the connection aborts (#967)
This commit is contained in:
parent
60f953629d
commit
fc4e9a8bb8
@ -276,6 +276,8 @@ method accept*(self: WsTransport): Future[Connection] {.async, gcsafe.} =
|
|||||||
debug "AsyncStream Error", exc = exc.msg
|
debug "AsyncStream Error", exc = exc.msg
|
||||||
except TransportTooManyError as exc:
|
except TransportTooManyError as exc:
|
||||||
debug "Too many files opened", exc = exc.msg
|
debug "Too many files opened", exc = exc.msg
|
||||||
|
except TransportAbortedError as exc:
|
||||||
|
debug "Connection aborted", exc = exc.msg
|
||||||
except AsyncTimeoutError as exc:
|
except AsyncTimeoutError as exc:
|
||||||
debug "Timed out", exc = exc.msg
|
debug "Timed out", exc = exc.msg
|
||||||
except TransportUseClosedError as exc:
|
except TransportUseClosedError as exc:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user