Skip to content

armgit / Piik

Public Imported from GitHub
0

Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik. 免费开源的私密屏幕共享,支持游戏直播、一起看电影与自部署。

472 B
Raw Blame
diff --git a/supervisor/tunnel.go b/supervisor/tunnel.go
--- a/supervisor/tunnel.go
+++ b/supervisor/tunnel.go
@@ -373,0 +374,6 @@ func isQuicBroken(cause error) bool {
+	// Serve reaches protocol selection for a dial failure only after
+	// IpAddrFallback has exhausted the configured edge-address retries.
+	// HandshakeTimeoutError is distinct from IdleTimeoutError in quic-go.
+	if _, ok := errors.AsType[*connection.EdgeQuicDialError](cause); ok {
+		return true
+	}