Add muxer for TCP Routers
This commit is contained in:
parent
79aab5aab8
commit
dad76e0478
39 changed files with 2661 additions and 901 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/lucas-clemente/quic-go/http3"
|
||||
"github.com/traefik/traefik/v2/pkg/config/static"
|
||||
"github.com/traefik/traefik/v2/pkg/log"
|
||||
"github.com/traefik/traefik/v2/pkg/tcp"
|
||||
tcprouter "github.com/traefik/traefik/v2/pkg/server/router/tcp"
|
||||
)
|
||||
|
||||
type http3server struct {
|
||||
|
@ -77,7 +77,7 @@ func (e *http3server) Start() error {
|
|||
return e.Serve(e.http3conn)
|
||||
}
|
||||
|
||||
func (e *http3server) Switch(rt *tcp.Router) {
|
||||
func (e *http3server) Switch(rt *tcprouter.Router) {
|
||||
e.lock.Lock()
|
||||
defer e.lock.Unlock()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue