Ref fix build warnings

This commit is contained in:
Hannes Tribus 2022-08-17 10:12:19 +02:00
parent 4a545c95fd
commit a7515e93ba
2 changed files with 3 additions and 3 deletions

View file

@ -10,5 +10,4 @@ const banner = `
/ / __/ __ \ / /_/ / / / / / / /_/ / / __/ / / / __ \/ __ \/ _ \/ /
/ /_/ / /_/ / / __ / / / / / / ____/ / /_/ /_/ / / / / / / / __/ /
\____/\____/ /_/ /_/ /_/ /_/ /_/ \__/\__,_/_/ /_/_/ /_/\___/_/
github.com/hons82/go-http-tunnel
`
github.com/hons82/go-http-tunnel`

View file

@ -26,7 +26,7 @@ import (
"github.com/inconshreveable/go-vhost"
)
// A set of listeners to manage subscribers
// SubscriptionListener A set of listeners to manage subscribers
type SubscriptionListener interface {
// Invoked if AutoSubscribe is false and must return true if the client is allowed to subscribe or not.
// If the tlsConfig is configured to require client certificate validation, chain will contain the first
@ -672,6 +672,7 @@ func (s *Server) listen(l net.Listener, identifier id.ID) {
}
}
// Upgrade the connection
func (s *Server) Upgrade(identifier id.ID, conn net.Conn, requestBytes []byte) error {
var err error