Commit b1786e77 authored by Jean-Paul Saman's avatar Jean-Paul Saman

OPTIONS timeout of 5 seconds is way to short for some systems, so make it 30 instead.

parent f32bdde1
......@@ -131,7 +131,7 @@ diff -ru live/groupsock/NetInterface.cpp live-patched/groupsock/NetInterface.cpp
while (1) {
unsigned char firstByte;
- if (readSocket(envir(), fInputSocketNum, &firstByte, 1, fromAddress)
+ timeout.tv_sec = 5;
+ timeout.tv_sec = 30;
+ timeout.tv_usec = 0;
+ if (readSocket(envir(), fInputSocketNum, &firstByte, 1, fromAddress, &timeout)
!= 1) break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment