mirror of
https://github.com/go-gost/gost.git
synced 2026-10-09 20:45:46 +00:00
add obfs dialer
This commit is contained in:
@@ -23,8 +23,8 @@ func (h *httpHandler) handleUDP(ctx context.Context, conn net.Conn, network, add
|
||||
ProtoMinor: 1,
|
||||
Header: http.Header{},
|
||||
}
|
||||
if h.md.proxyAgent != "" {
|
||||
resp.Header.Add("Proxy-Agent", h.md.proxyAgent)
|
||||
for k, v := range h.md.headers {
|
||||
resp.Header.Set(k, v)
|
||||
}
|
||||
|
||||
if !h.md.enableUDP {
|
||||
|
||||
Reference in New Issue
Block a user