This commit is contained in:
azw 2023-08-13 12:13:36 +08:00
parent 77163513fc
commit fba647f1c0
7 changed files with 5 additions and 12 deletions

View File

@ -1,5 +0,0 @@
[
{
"listen_port": 8888
}
]

View File

@ -1 +0,0 @@
node ../../tools/robot/app.js -hws://192.168.100.45:7801 -utest134345 -d../../server/imserver/

View File

@ -1 +0,0 @@
node ../../tools/robot/app.js -hws://192.168.100.45:7801 -utest134345 -d../../server/imserver/

View File

@ -122,7 +122,7 @@ func (this *WSPListener) decodePacket(conn net.Conn, buf []byte, offset *int, bu
}
if warning {
f5.SysLog().Warning("收到client非法数据包")
f5.GetSysLog().Warning("收到client非法数据包")
}
}

View File

@ -6,16 +6,16 @@ compile:
protoc --proto_path=proto --go_out=./ss proto/ss_msgid.proto
protoc --proto_path=proto --go_out=./ss proto/ss_proto.proto
@export GOPROXY=https://goproxy.io
@go build -gcflags=all="-N -l" -o ../../bin/imserver/
@go build -gcflags=all="-N -l" -o ../../bin/imserver/bin
@echo "compile done"
debug:
@. /etc/profile
@export GOPROXY=https://goproxy.io
@go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/imserver/
@go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/imserver/bin
@echo "compile done"
clean:
@rm -f ../../bin/imserver/
@rm -f ../../bin/imserver/bin
@echo "clean done"

2
third_party/f5 vendored

@ -1 +1 @@
Subproject commit c6e4546c133727b954c0f6745e70dadbeab50f1a
Subproject commit 1db5053277eab004bd09af83ddbe1569e9492b53