Skip to content

Commit cbdded8

Browse files
committed
Update comment
1 parent e4397be commit cbdded8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

alpnexample.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ import (
2727
// This program demonstrates using ALPN with TLS to handle both HTTP/2 traffic
2828
// and an arbitrary protocol called "foo". Although this method of multiplexing
2929
// 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.
30+
// connections and multiplexes and yamux can be layered on top of a given
31+
// net.Conn), and the same port can be used because the protocol switch happens
32+
// during TLS negotiation.
3233
//
3334
// The sleep times are distinct between the foo and HTTP/2 clients to make it
3435
// clear that they are running concurrently/async.

0 commit comments

Comments
 (0)