added host network mode support, docs update, UDP fix

This commit is contained in:
yusing
2024-04-01 03:23:30 +00:00
parent 03bf425a38
commit 72418a2056
9 changed files with 287 additions and 142 deletions

View File

@@ -168,6 +168,8 @@ const (
const udpBufferSize = 1500
var isHostNetworkMode = os.Getenv("GOPROXY_HOST_NETWORK") == "1"
var logLevel = func() logrus.Level {
switch os.Getenv("GOPROXY_DEBUG") {
case "1", "true":