Browse Source

More logs

V2Ray 10 years ago
parent
commit
85311a95dd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      proxy/freedom/freedom.go

+ 1 - 0
proxy/freedom/freedom.go

@@ -69,6 +69,7 @@ func dumpOutput(conn net.Conn, output chan<- []byte, finish *sync.Mutex, udp boo
 	defer close(output)
 
 	response, err := v2net.ReadFrom(conn)
+  log.Info("Freedom receives %d bytes from %s", len(response), conn.RemoteAddr().String())
 	if len(response) > 0 {
 		output <- response
 	}