Handle incoming conns in their own goroutines
Doing the multistream negotiation in sync causes hanging issues. This commit accepts transport connections and starts the negotiation in a separate goroutine, sending it down a channel when its ready.
Showing
+134 -52
Please register or sign in to comment