0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00

ircd::client: Add request count to loghead.

This commit is contained in:
Jason Volk 2019-02-07 04:45:37 -08:00
parent 3528bb41bc
commit 8c99e90a85

View file

@ -942,10 +942,12 @@ const
thread_local char locbuf[128];
return fmt::sprintf
{
buf, "socket:%lu local[%s] remote[%s] client:%lu",
buf, "socket:%lu local[%s] remote[%s] client:%lu req:%lu:%lu",
sock? net::id(*sock) : -1UL,
string(locbuf, ircd::local(*this)),
string(rembuf, ircd::remote(*this)),
id,
ready_count,
request_count
};
}