1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-05 03:59:14 -04:00
Files
v2fly/proxy/http/server.go
Valture 973378d610 Prevent UA from being set to golang's default ones
Go automatically sets HTTP header `User-Agent' to `Go-http-client/1.1'
if it hasn't been set before, which in some cases breaks the
transparency of proxy.

Such behavior can be prevented by setting it to an empty string.
2017-11-05 19:24:26 +00:00

8.2 KiB