diff --git a/backend/internal/repository/http_upstream.go b/backend/internal/repository/http_upstream.go index 9e9f4e6e..509e1492 100644 --- a/backend/internal/repository/http_upstream.go +++ b/backend/internal/repository/http_upstream.go @@ -124,11 +124,6 @@ func NewHTTPUpstream(cfg *config.Config) service.HTTPUpstream { // - 调用方必须关闭 resp.Body,否则会导致 inFlight 计数泄漏 // - inFlight > 0 的客户端不会被淘汰,确保活跃请求不被中断 func (s *httpUpstreamService) Do(req *http.Request, proxyURL string, accountID int64, accountConcurrency int) (*http.Response, error) { - // Node.js TLS 代理:所有 HTTPS 上游请求走 Node.js 代理 - if s.isNodeTLSProxyEnabled() && req != nil && req.URL != nil && req.URL.Scheme == "https" { - return s.doViaNodeTLSProxy(req, accountID, accountConcurrency) - } - if err := s.validateRequestHost(req); err != nil { return nil, err }