[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [pluggable-transports/meek] 02/09: Remove obsolete comments referring to QUIC.
This is an automated email from the git hooks/post-receive script.
dcf pushed a commit to branch turbotunnel
in repository pluggable-transports/meek.
commit 4c4a6fd14e5ccaf35486fa798e5c206fee875168
Author: David Fifield <david@xxxxxxxxxxxxxxx>
AuthorDate: Thu Oct 27 17:49:52 2022 -0600
Remove obsolete comments referring to QUIC.
---
meek-client/turbotunnel.go | 3 ---
meek-server/client_map.go | 6 +++---
meek-server/turbotunnel.go | 3 ---
3 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/meek-client/turbotunnel.go b/meek-client/turbotunnel.go
index 7e10d01..535c05c 100644
--- a/meek-client/turbotunnel.go
+++ b/meek-client/turbotunnel.go
@@ -53,9 +53,6 @@ const (
// along with all HTTP requests, and the server uses the ClientID to
// disambiguate requests among its many clients. ClientID implements the
// net.Addr interface.
-//
-// ClientID duplicates the functionality of the QUIC connection ID, but quic-go
-// does not provide accessors for the connection ID.
type ClientID [8]byte
func newClientID() ClientID {
diff --git a/meek-server/client_map.go b/meek-server/client_map.go
index 33affff..6f2f69a 100644
--- a/meek-server/client_map.go
+++ b/meek-server/client_map.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 {
diff --git a/meek-server/turbotunnel.go b/meek-server/turbotunnel.go
index 277d656..d10b795 100644
--- a/meek-server/turbotunnel.go
+++ b/meek-server/turbotunnel.go
@@ -25,9 +25,6 @@ const queueSize = 256
// along with all HTTP requests, and the server uses the ClientID to
// disambiguate requests among its many clients. ClientID implements the
// net.Addr interface.
-//
-// ClientID duplicates the functionality of the QUIC connection ID, but quic-go
-// does not provide accessors for the connection ID.
type ClientID [8]byte
func newClientID() ClientID {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits