1
This commit is contained in:
@@ -64,6 +64,7 @@ func handleConn(c net.Conn) error {
|
|||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
printRemoteAddr := c.RemoteAddr().String()
|
printRemoteAddr := c.RemoteAddr().String()
|
||||||
|
printRemoteAddr = strings.Split(printRemoteAddr, ":")[0]
|
||||||
globals.SugarLogger.Debugf("--------printRemoteAddr := %s", printRemoteAddr)
|
globals.SugarLogger.Debugf("--------printRemoteAddr := %s", printRemoteAddr)
|
||||||
buffer, n, err := ConnRead(c)
|
buffer, n, err := ConnRead(c)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user