mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::net: Show a coarse io stat on disconnect for now.
This commit is contained in:
parent
8d2e098d16
commit
eab178b97f
1 changed files with 4 additions and 2 deletions
|
@ -1039,10 +1039,12 @@ try
|
|||
timer.cancel();
|
||||
|
||||
if(sd.is_open())
|
||||
log.debug("socket(%p): disconnect: %s type: %d",
|
||||
log.debug("socket(%p): disconnect: %s type:%d user: in:%zu out:%zu",
|
||||
(const void *)this,
|
||||
string(remote_ipport(*this)),
|
||||
uint(type));
|
||||
uint(type),
|
||||
in.bytes,
|
||||
out.bytes);
|
||||
|
||||
if(sd.is_open()) switch(type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue