0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-03 17:28:18 +02:00

ircd::server: Show response code in tag completion debug log msg.

This commit is contained in:
Jason Volk 2019-03-25 09:40:18 -07:00
parent d149c540f4
commit c5088c3af2

View file

@ -810,13 +810,14 @@ noexcept try
{ {
log::debug log::debug
{ {
log, "peer(%p) link(%p) tag(%p) [%s] done wt:%zu rt:%zu hr:%zu cr:%zu cl:%zu; %zu more in queue", log, "peer(%p) link(%p) tag(%p) [%s] => [%u] done wt:%zu rt:%zu hr:%zu cr:%zu cl:%zu; %zu more in queue",
this, this,
&link, &link,
&tag, &tag,
tag.request? tag.request?
loghead(*tag.request): loghead(*tag.request):
"<no request>"_sv, "<no request>"_sv,
uint(tag.state.status),
tag.write_size(), tag.write_size(),
tag.read_size(), tag.read_size(),
tag.state.head_read, tag.state.head_read,