0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-26 22:08:20 +02:00

ircd::resource: Better debug log indication of chunked encoding response.

This commit is contained in:
Jason Volk 2018-08-25 13:59:01 -07:00
parent 74bb040b8c
commit 41dd3cca29

View file

@ -1011,7 +1011,7 @@ ircd::resource::response::response(client &client,
log::logf
{
log::general, facility,
"socket(%p) local[%s] remote[%s] HTTP %d %s in %ld$us; %s %zd content",
"socket(%p) local[%s] remote[%s] HTTP %d %s in %ld$us; %s %s content",
client.sock.get(),
string(local(client)),
string(remote(client)),
@ -1019,7 +1019,7 @@ ircd::resource::response::response(client &client,
http::status(code),
request_time,
content_type,
ssize_t(content_length),
ssize_t(content_length) >= 0? lex_cast(content_length): "chunked"_sv
};
#endif