0
0
Fork 0
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:
Jason Volk 2017-12-21 14:25:15 -07:00
parent 8d2e098d16
commit eab178b97f

View file

@ -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)
{