1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00
v2fly/proxy/http
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
..
client.go allow dynamic type of user accounts 2016-05-28 13:44:11 +02:00
config.go basic auth in http server 2017-10-26 21:44:13 +02:00
config.pb.go basic auth in http server 2017-10-26 21:44:13 +02:00
config.proto basic auth in http server 2017-10-26 21:44:13 +02:00
errors.generated.go refactor error messages 2017-04-09 01:43:25 +02:00
http.go refactor error messages 2017-04-09 01:43:25 +02:00
server_test.go fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
server.go Prevent UA from being set to golang's default ones 2017-11-05 19:24:26 +00:00