0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 14:38:57 +02:00

ircd:Ⓜ️ Increase error buffer size.

This commit is contained in:
Jason Volk 2018-12-19 15:57:04 -08:00
parent 36c1b359ab
commit 009979a544
2 changed files with 4 additions and 3 deletions

View file

@ -31,7 +31,7 @@ namespace ircd::m
class ircd::m::error
:public http::error
{
static thread_local char fmtbuf[768];
static thread_local char fmtbuf[4_KiB];
public:
template<class... args> error(const http::code &, const string_view &errcode, const string_view &fmt, args&&...);

View file

@ -3723,8 +3723,9 @@ ircd::m::_hook_match(const m::event &matching,
// m/error.h
//
thread_local char
ircd::m::error::fmtbuf[768]
thread_local
decltype(ircd::m::error::fmtbuf)
ircd::m::error::fmtbuf
{};
ircd::m::error::error()