Change nntp server timeout to 300 seconds

This commit is contained in:
Retro_Guy 2021-01-21 18:49:17 -07:00
parent f495caa2fb
commit e790a1295b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
if($use_crypto) {
$cryptoSetup = stream_socket_enable_crypto($msgsock, TRUE, STREAM_CRYPTO_METHOD_TLSv1_0_SERVER | STREAM_CRYPTO_METHOD_TLSv1_1_SERVER | STREAM_CRYPTO_METHOD_TLSv1_2_SERVER);
}
stream_set_timeout($msgsock, 30);
stream_set_timeout($msgsock, 300);
/* Send instructions. */
$msg = "200 Rocksolid Light NNTP Server ready (no posting)\r\n";
fwrite($msgsock, $msg, strlen($msg));