Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-conn-security-multistream
Commits
93a5f4da
Unverified
Commit
93a5f4da
authored
Apr 26, 2019
by
Steven Allen
Committed by
GitHub
Apr 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10 from libp2p/fix/block-while-writing
block while writing
parents
6cccee85
aec1a9fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ssms.go
ssms.go
+1
-0
No files found.
ssms.go
View file @
93a5f4da
...
...
@@ -82,6 +82,7 @@ func (sm *SSMuxer) selectProto(ctx context.Context, insecure net.Conn, server bo
// We *must* do this. We have outstanding work on the connection
// and it's no longer safe to use.
insecure
.
Close
()
<-
done
// wait to stop using the connection.
return
nil
,
ctx
.
Err
()
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment