main #45

Merged
bagas merged 27 commits from main into staging 2025-12-28 08:08:58 +00:00
Showing only changes of commit 5c6826fe89 - Show all commits

View File

@@ -171,7 +171,7 @@ func (f *Forwarder) WriteBadGatewayResponse(dst io.Writer) {
}
func (f *Forwarder) Close() error {
if f.GetTunnelType() != types.HTTP {
if f.GetListener() != nil {
return f.Listener.Close()
}
return nil