Merge pull request #112 from libp2p/fix/reset-bug

fix missing reset on write errors
This commit is contained in:
vyzo 2018-10-12 12:48:49 +03:00 committed by GitHub
commit 22a647b025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
0.9.34: QmauSWEHHKHqoyC54iwQzLLSfQ5THqHVgjbrxubwW1eVru
0.9.35: QmdiHYZAnAVnhkFfwaRdMmsDxKxYL8esbCYZhR6yvXCfo4

View File

@ -86,6 +86,7 @@ func (p *PubSub) handleSendingMessages(ctx context.Context, s inet.Stream, outgo
case p.peerDead <- s.Conn().RemotePeer():
case <-ctx.Done():
}
return
}
case <-ctx.Done():
return

View File

@ -72,6 +72,5 @@
"license": "",
"name": "go-libp2p-floodsub",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.9.34"
"version": "0.9.35"
}