Skip to content

Commit

Permalink
bump relay
Browse files Browse the repository at this point in the history
  • Loading branch information
navigaid committed Apr 14, 2024
1 parent 22ef08d commit c31c3e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/mini/mini.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func listenHTTP(handler http.Handler) error {
}

func Run([]string) (err error) {
sm := relay.NewSessionManager(envs.HOST)
sm := relay.NewWSServer(envs.HOST, relay.NewSessionStore())

var dsm http.Handler = sm
// Set the Alt-Svc header for UDP port discovery && http3 bootstrapping
Expand Down
2 changes: 1 addition & 1 deletion apps/relay/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func Run([]string) (err error) {

s := relay.New(envs.HOST, envs.UDP_PORT, GlobalTLSConfig)

var dsm http.Handler = s.SessionManager
var dsm http.Handler = s.WSServer
// Set the Alt-Svc header for UDP port discovery && http3 bootstrapping
dsm = AltSvcMiddleware(dsm)
dsm = utils.GinLoggerMiddleware(dsm)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ require (
github.com/vmware-labs/wasm-workers-server v1.7.0
// github.com/webteleport/caddy-webteleport v0.0.1
github.com/webteleport/auth v0.0.8
github.com/webteleport/relay v0.3.3
github.com/webteleport/relay v0.3.4
github.com/webteleport/utils v0.2.10
github.com/webteleport/webteleport v0.5.1
github.com/webteleport/wtf v0.1.14
Expand Down

0 comments on commit c31c3e8

Please sign in to comment.