mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 16:33:53 +01:00
ircd::resource: Better debug log indication of chunked encoding response.
This commit is contained in:
parent
74bb040b8c
commit
41dd3cca29
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue