We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4397be commit cbdded8Copy full SHA for cbdded8
alpnexample.go
@@ -27,8 +27,9 @@ import (
27
// This program demonstrates using ALPN with TLS to handle both HTTP/2 traffic
28
// and an arbitrary protocol called "foo". Although this method of multiplexing
29
// requires multiple TCP connections, the number is few (since HTTP/2 reuses
30
-// connections and multiplexes), and the same port can be used because the
31
-// protocol switch happens during TLS negotiation.
+// connections and multiplexes and yamux can be layered on top of a given
+// net.Conn), and the same port can be used because the protocol switch happens
32
+// during TLS negotiation.
33
//
34
// The sleep times are distinct between the foo and HTTP/2 clients to make it
35
// clear that they are running concurrently/async.
0 commit comments