mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
Ref fix build warnings
This commit is contained in:
parent
4a545c95fd
commit
a7515e93ba
2 changed files with 3 additions and 3 deletions
|
|
@ -10,5 +10,4 @@ const banner = `
|
|||
/ / __/ __ \ / /_/ / / / / / / /_/ / / __/ / / / __ \/ __ \/ _ \/ /
|
||||
/ /_/ / /_/ / / __ / / / / / / ____/ / /_/ /_/ / / / / / / / __/ /
|
||||
\____/\____/ /_/ /_/ /_/ /_/ /_/ \__/\__,_/_/ /_/_/ /_/\___/_/
|
||||
github.com/hons82/go-http-tunnel
|
||||
`
|
||||
github.com/hons82/go-http-tunnel`
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue