Skip to content

Commit

Permalink
Update Callback.go
Browse files Browse the repository at this point in the history
  • Loading branch information
qtgolang committed May 31, 2024
1 parent 79331e0 commit 9c1577c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SunnyNet/Callback.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ func GetSceneWebSocketMsg(MessageId int) (*public.WebsocketMsg, bool) {

// CallbackTCPRequest TCP请求处理回调
func (s *ProxyRequest) CallbackTCPRequest(callType int, msg *public.TcpMsg) {
if s.Global.disableTCP {
return
}
LocalAddr := s.Conn.RemoteAddr().String()
hostname := s.Target.String()
pid, _ := strconv.Atoi(s.Pid)
Expand Down

0 comments on commit 9c1577c

Please sign in to comment.