uquic/u_oscur0_multiplexer.go
Mingye Chen 5aaa94569b
Some checks failed
Go Build / build (1.21.x, ubuntu-latest) (push) Successful in 31s
Go Build / build (1.22.x, ubuntu-latest) (push) Successful in 39s
Go Build / build (1.21.x, macos-latest) (push) Has been cancelled
Go Build / build (1.21.x, windows-latest) (push) Has been cancelled
Go Build / build (1.22.x, macos-latest) (push) Has been cancelled
Go Build / build (1.22.x, windows-latest) (push) Has been cancelled
fix: rm quic-go multiplexer
2025-03-17 12:23:27 -06:00

12 lines
311 B
Go

package quic
// We disable the multiplexer as oscur0 uses its own multiplexer.
func getMultiplexer() multiplexer {
return &oscur0Multiplexer{}
}
type oscur0Multiplexer struct{}
func (*oscur0Multiplexer) AddConn(c indexableConn) {}
func (*oscur0Multiplexer) RemoveConn(c indexableConn) error { return nil }