aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Fifield <david@bamsoftware.com>2023-06-29 19:59:50 +0000
committerDavid Fifield <david@bamsoftware.com>2023-06-29 19:59:50 +0000
commit80980a3afb664b6ad019390f7f9b5a2f67cd5a9f (patch)
treeb14c9c76301a792e6de951d48e47fe8dc1bd9b20
parent08d1c6d6551464d526d4bbe608384b8e7dec32ee (diff)
downloadsnowflake-80980a3afb664b6ad019390f7f9b5a2f67cd5a9f.tar.gz
snowflake-80980a3afb664b6ad019390f7f9b5a2f67cd5a9f.zip
Fix a comment left over from turbotunnel-quic.
-rw-r--r--common/turbotunnel/clientmap.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/turbotunnel/clientmap.go b/common/turbotunnel/clientmap.go
index 2d03947..94e8a99 100644
--- a/common/turbotunnel/clientmap.go
+++ b/common/turbotunnel/clientmap.go
@@ -28,10 +28,10 @@ type ClientMap struct {
// NewClientMap creates a ClientMap that expires clients after a timeout.
//
-// The timeout does not have to be kept in sync with QUIC's internal idle
-// timeout. If a client is removed from the client map while the QUIC session is
+// The timeout does not have to be kept in sync with smux's internal idle
+// timeout. If a client is removed from the client map while the smux session is
// still live, the worst that can happen is a loss of whatever packets were in
-// the send queue at the time. If QUIC later decides to send more packets to the
+// the send queue at the time. If smux later decides to send more packets to the
// same client, we'll instantiate a new send queue, and if the client ever
// connects again with the proper client ID, we'll deliver them.
func NewClientMap(timeout time.Duration) *ClientMap {