From 1c4f1c0de17533d6858dacc0de352de5fd97cb48 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 21 Jul 2024 17:59:36 +0200 Subject: [PATCH] Bump limits --- src/Main.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Main.php b/src/Main.php index 6eb7b06..b125bfc 100644 --- a/src/Main.php +++ b/src/Main.php @@ -385,7 +385,13 @@ final class Main implements RequestHandler $logger->pushHandler($logHandler); $errorHandler = new DefaultErrorHandler(); - $server = SocketHttpServer::createForDirectAccess($logger); + $server = SocketHttpServer::createForDirectAccess( + $logger, + true, + PHP_INT_MAX, + PHP_INT_MAX, + PHP_INT_MAX, + ); $server->expose('0.0.0.0:1337'); $server->start($this, $errorHandler);