mirror of
https://github.com/qtgolang/SunnyNet.git
synced 2026-08-30 22:11:29 -07:00
2026-08-21
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
set NDK=E:\init\windows-ndk-x86_64
|
set NDK=F:\init\windows-ndk-x86_64
|
||||||
set CGO_ENABLED=1
|
set CGO_ENABLED=1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
set NDK=E:\init\windows-ndk-x86_64
|
set NDK=F:\init\windows-ndk-x86_64
|
||||||
set CGO_ENABLED=1
|
set CGO_ENABLED=1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
set NDK=E:\init\windows-ndk-x86_64
|
set NDK=F:\init\windows-ndk-x86_64
|
||||||
set CGO_ENABLED=1
|
set CGO_ENABLED=1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -128,9 +128,12 @@ func normalizeHostPort(h string) string {
|
|||||||
}
|
}
|
||||||
return host
|
return host
|
||||||
}
|
}
|
||||||
|
ar := strings.Split(h, ":")
|
||||||
|
if len(ar) > 1 && ar[len(ar)-1] == "" {
|
||||||
|
return ar[0]
|
||||||
|
}
|
||||||
return h
|
return h
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *proxyRequest) httpCall(rw http.ResponseWriter, req *http.Request) {
|
func (s *proxyRequest) httpCall(rw http.ResponseWriter, req *http.Request) {
|
||||||
if req == nil {
|
if req == nil {
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import (
|
|||||||
"github.com/qtgolang/SunnyNet/src/websocket"
|
"github.com/qtgolang/SunnyNet/src/websocket"
|
||||||
)
|
)
|
||||||
|
|
||||||
const SunnyVersion = "2026-08-19"
|
const SunnyVersion = "2026-08-21"
|
||||||
const Information = `
|
const Information = `
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
欢迎使用 SunnyNet 网络中间件 - V` + SunnyVersion + `
|
欢迎使用 SunnyNet 网络中间件 - V` + SunnyVersion + `
|
||||||
|
|||||||
Reference in New Issue
Block a user