mirror of
https://github.com/matrix-construct/construct
synced 2024-11-20 17:01:55 +01:00
ircd::http: Move insignificant TLS buffer to stack.
This commit is contained in:
parent
3d672ab9bc
commit
be8bb88358
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ ircd::http::response::response(window_buffer &out,
|
|||
if(write_date_header)
|
||||
writeline(out, [](const mutable_buffer &out) -> size_t
|
||||
{
|
||||
thread_local char date_buf[96];
|
||||
char date_buf[96];
|
||||
return fmt::sprintf
|
||||
{
|
||||
out, "Date: %s", timef(date_buf, ircd::localtime)
|
||||
|
|
Loading…
Reference in a new issue