Skip to content

Commit 11460e8

Browse files
Laravel default config updated
1 parent aadd520 commit 11460e8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

configs/routeros-api.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
*/
3535

3636
'ssl' => false, // Enable ssl support (if port is not set this parameter must change default port to ssl port)
37+
38+
// @see https://www.php.net/manual/en/context.ssl.php
3739
'ssl_options' => [
3840
'ciphers' => 'ADH:ALL', // ADH:ALL, ADH:ALL@SECLEVEL=0, ADH:ALL@SECLEVEL=1 ... ADH:ALL@SECLEVEL=5
3941
'verify_peer' => false, // Require verification of SSL certificate used.
@@ -51,9 +53,11 @@
5153
|
5254
*/
5355

54-
'legacy' => false, // Support of legacy login scheme (true - pre 6.43, false - post 6.43)
55-
'timeout' => 10, // Max timeout for answer from RouterOS
56-
'attempts' => 10, // Count of attempts to establish TCP session
57-
'delay' => 1, // Delay between attempts in seconds
56+
'legacy' => false, // Support of legacy login scheme (true - pre 6.43, false - post 6.43)
57+
'timeout' => 10, // Max timeout for instantiating connection with RouterOS
58+
'socket_timeout' => 30, // Max timeout for read from RouterOS
59+
'ssh_timeout' => 30, // Max timeout for read from RouterOS via SSH proto (for "/export" command)
60+
'attempts' => 10, // Count of attempts to establish TCP session
61+
'delay' => 1, // Delay between attempts in seconds
5862

5963
];

0 commit comments

Comments
 (0)