mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
add reading and writing into netstat
This commit is contained in:
@@ -2185,6 +2185,8 @@ query_info(struct socket *s, struct socket_info *si) {
|
||||
si->rtime = s->stat.rtime;
|
||||
si->wtime = s->stat.wtime;
|
||||
si->wbuffer = s->wb_size;
|
||||
si->reading = s->reading;
|
||||
si->writing = s->writing;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user