Skip to content

Commit

Permalink
fix: stuck with gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
zema1 committed May 14, 2023
1 parent e941463 commit fea7f28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ctrl/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func (m *socks5Handler) handleConnect(conn net.Conn, sockReq *gosocks5.Request)
req, _ = http.NewRequestWithContext(m.ctx, m.config.Method, m.config.Target, bytes.NewReader(dialData))
baseHeader.Set("Content-Type", ContentTypeHalf)
req.Header = baseHeader
req.Header.Set("Accept-Encoding", "identity")
resp, err = m.noTimeoutClient.Do(req)
}
if err != nil {
Expand Down

0 comments on commit fea7f28

Please sign in to comment.