mirror of
https://github.com/matrix-construct/construct
synced 2024-09-30 12:48:54 +02: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::logf
|
||||||
{
|
{
|
||||||
log::general, facility,
|
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(),
|
client.sock.get(),
|
||||||
string(local(client)),
|
string(local(client)),
|
||||||
string(remote(client)),
|
string(remote(client)),
|
||||||
|
@ -1019,7 +1019,7 @@ ircd::resource::response::response(client &client,
|
||||||
http::status(code),
|
http::status(code),
|
||||||
request_time,
|
request_time,
|
||||||
content_type,
|
content_type,
|
||||||
ssize_t(content_length),
|
ssize_t(content_length) >= 0? lex_cast(content_length): "chunked"_sv
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue