Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ade2879

Browse files
committedJul 10, 2015
update multistream naming of lazyconn
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
1 parent 80b24cb commit ade2879

File tree

4 files changed

+22
-27
lines changed

4 files changed

+22
-27
lines changed
 

‎Godeps/Godeps.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Godeps/_workspace/src/github.com/whyrusleeping/go-multistream/lazy.go

+16-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Godeps/_workspace/src/github.com/whyrusleeping/go-multistream/multistream_test.go

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎p2p/host/basic/basic_host.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func (h *BasicHost) NewStream(pid protocol.ID, p peer.ID) (inet.Stream, error) {
170170

171171
logStream := mstream.WrapStream(s, pid, h.bwc)
172172

173-
lzcon := msmux.NewLazyHandshakeConn(logStream, string(pid))
173+
lzcon := msmux.NewMSSelect(logStream, string(pid))
174174
return &streamWrapper{
175175
Stream: logStream,
176176
rw: lzcon,

0 commit comments

Comments
 (0)
Please sign in to comment.