mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-12 03:14:15 +00:00
Revert "tmp"
This reverts commit 0677853c97e617b48dde3d68e70798a4e05da175.
This commit is contained in:
parent
0677853c97
commit
8dab802eb4
@ -131,7 +131,7 @@ method handle*(m: Mplex) {.async, gcsafe.} =
|
|||||||
while not m.connection.atEof:
|
while not m.connection.atEof:
|
||||||
trace "waiting for data", m
|
trace "waiting for data", m
|
||||||
let
|
let
|
||||||
(id, msgType, data) = await m.connection.readMsg().wait(10.minutes)
|
(id, msgType, data) = await m.connection.readMsg()
|
||||||
initiator = bool(ord(msgType) and 1)
|
initiator = bool(ord(msgType) and 1)
|
||||||
|
|
||||||
logScope:
|
logScope:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user