2026-08-21

This commit is contained in:
Qin tian
2026-08-21 21:15:45 +08:00
parent ff51742659
commit 8a58b8b80d
5 changed files with 8 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
@echo off
set NDK=E:\init\windows-ndk-x86_64
set NDK=F:\init\windows-ndk-x86_64
set CGO_ENABLED=1

View File

@@ -2,7 +2,7 @@
@echo off
set NDK=E:\init\windows-ndk-x86_64
set NDK=F:\init\windows-ndk-x86_64
set CGO_ENABLED=1

View File

@@ -2,7 +2,7 @@
@echo off
set NDK=E:\init\windows-ndk-x86_64
set NDK=F:\init\windows-ndk-x86_64
set CGO_ENABLED=1

View File

@@ -128,9 +128,12 @@ func normalizeHostPort(h string) string {
}
return host
}
ar := strings.Split(h, ":")
if len(ar) > 1 && ar[len(ar)-1] == "" {
return ar[0]
}
return h
}
func (s *proxyRequest) httpCall(rw http.ResponseWriter, req *http.Request) {
if req == nil {
return

View File

@@ -17,7 +17,7 @@ import (
"github.com/qtgolang/SunnyNet/src/websocket"
)
const SunnyVersion = "2026-08-19"
const SunnyVersion = "2026-08-21"
const Information = `
------------------------------------------------------
欢迎使用 SunnyNet 网络中间件 - V` + SunnyVersion + `