More logs

This commit is contained in:
V2Ray
2015-10-06 17:24:31 +02:00
parent fe7d2d8984
commit 85311a95dd
+1
View File
@@ -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
}