This commit is contained in:
flamingcow
2019-05-09 21:48:51 -07:00
parent 1b81228814
commit ad0281f9d2
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ int main(int argc, char* argv[]) {
gflags::ParseCommandLineFlags(&argc, &argv, true);
{
firecgi::Connection conn(STDIN_FILENO, {}, [](std::unique_ptr<firecgi::Request> req) { req->End(); }, {});
firecgi::Connection conn(STDIN_FILENO, {}, [](firecgi::Request* req) { req->End(); }, {}, 16*1024);
static_cast<void>(conn.Read());
}