1
0
mirror of https://github.com/danog/telerpc.git synced 2024-11-26 12:04:47 +01:00

Bump limits

This commit is contained in:
Daniil Gentili 2024-07-21 17:59:36 +02:00
parent b3d2302b37
commit 1c4f1c0de1

View File

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