mirror of
https://github.com/danog/telerpc.git
synced 2024-11-30 04:38:57 +01:00
Bump limits
This commit is contained in:
parent
b3d2302b37
commit
1c4f1c0de1
@ -385,7 +385,13 @@ final class Main implements RequestHandler
|
|||||||
$logger->pushHandler($logHandler);
|
$logger->pushHandler($logHandler);
|
||||||
$errorHandler = new DefaultErrorHandler();
|
$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->expose('0.0.0.0:1337');
|
||||||
$server->start($this, $errorHandler);
|
$server->start($this, $errorHandler);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user