Skip to content

Commit a3ee49d

Browse files
committed
chore: Remove h2mux code
Some more legacy h2mux code to be cleaned up and moved out of the way. The h2mux.Header used in the serialization for http2 proxied headers is moved to connection module. Additionally, the booleanfuse structure is also moved to supervisor as it is also needed. Both of these structures could be evaluated later for removal/updates, however, the intent of the proposed changes here is to remove the dependencies on the h2mux code and removal. Approved-by: Chung-Ting Huang <[email protected]> Approved-by: Luis Neto <[email protected]> Approved-by: Gonçalo Garcia <[email protected]> MR: https://gitlab.cfdata.org/cloudflare/tun/cloudflared/-/merge_requests/1576
1 parent bade488 commit a3ee49d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+54
-8065
lines changed

connection/errors.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package connection
22

33
import (
44
"github.com/cloudflare/cloudflared/edgediscovery"
5-
"github.com/cloudflare/cloudflared/h2mux"
65
tunnelpogs "github.com/cloudflare/cloudflared/tunnelrpc/pogs"
76
)
87

@@ -71,8 +70,6 @@ func isHandshakeErrRecoverable(err error, connIndex uint8, observer *Observer) b
7170
switch err.(type) {
7271
case edgediscovery.DialError:
7372
log.Error().Msg("Connection unable to dial edge")
74-
case h2mux.MuxerHandshakeError:
75-
log.Error().Msg("Connection handshake with edge server failed")
7673
default:
7774
log.Error().Msg("Connection failed")
7875
return false

connection/h2mux.go

Lines changed: 0 additions & 32 deletions
This file was deleted.

connection/h2mux_header.go

Lines changed: 0 additions & 128 deletions
This file was deleted.

0 commit comments

Comments
 (0)