Skip to content

Commit

Permalink
unix domain socket listener fix?
Browse files Browse the repository at this point in the history
I basically copied the code from Cluade with my eyes closed, just no one else committed SplitHTTP3, so I did it.
  • Loading branch information
YUNRU committed Jul 18, 2024
1 parent 1d2c37c commit 9dda4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/internet/splithttp/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func ListenSH(ctx context.Context, address net.Address, port net.Port, streamSet
}
}()
}

l.listener = listener
if config := v2tls.ConfigFromStreamSettings(streamSettings); config != nil {
if tlsConfig := config.GetTLSConfig(); tlsConfig != nil {
listener = tls.NewListener(listener, tlsConfig)
Expand Down

0 comments on commit 9dda4c3

Please sign in to comment.