0
0
Fork 0
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:
Jason Volk 2022-05-20 14:45:02 -07:00
parent 3d672ab9bc
commit be8bb88358

View file

@ -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)