peer: allong pong msg to bypass lock.

This commit is contained in:
Christopher Jeffrey 2017-06-26 04:06:55 -07:00
parent 724c9f66e7
commit b65d2dcae7
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1607,6 +1607,7 @@ Peer.prototype.readPacket = async function readPacket(packet) {
case packetTypes.AUTHCHALLENGE:
case packetTypes.AUTHREPLY:
case packetTypes.AUTHPROPOSE:
case packetTypes.PONG:
try {
this.socket.pause();
await this.handlePacket(packet);