mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
modules/webhook: Use dynamic buffer for output.
This commit is contained in:
parent
de8d14da5b
commit
0a3db57bc2
1 changed files with 5 additions and 1 deletions
|
@ -135,7 +135,11 @@ github_handle(client &client,
|
|||
headers.at("X-GitHub-Delivery")
|
||||
};
|
||||
|
||||
thread_local char buf[2048];
|
||||
const unique_buffer<mutable_buffer> buf
|
||||
{
|
||||
48_KiB
|
||||
};
|
||||
|
||||
std::stringstream out;
|
||||
pubsetbuf(out, buf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue