From: qydysky Date: Thu, 21 Mar 2024 08:05:23 +0000 (+0800) Subject: 1 X-Git-Tag: v0.1.20240321080741 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=b4eb34a8e834b6f735539452e5fcc1a1fd28f543;p=front%2F.git 1 --- diff --git a/config.go b/config.go index 3e4dd6f..4abf61a 100755 --- a/config.go +++ b/config.go @@ -7,7 +7,6 @@ import ( "fmt" "net" "net/http" - "os" "strings" "sync" "time" @@ -168,7 +167,6 @@ func (t *Config) SwapSign(ctx context.Context, logger Logger) { w.WriteHeader(http.StatusForbidden) } else if errors.Is(e, ErrAllBacksFail) { w.WriteHeader(http.StatusBadGateway) - os.Exit(0) } else { t.routeP.GetConn(r).Close() }