OPTIONS timeout of 5 seconds is way to short for some systems, so make it 30 instead.
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 10 Dec 2007 14:20:32 +0000 (14:20 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 10 Dec 2007 14:20:32 +0000 (14:20 +0000)
extras/contrib/src/Patches/live.patch

index 208db1b..26ddcb4 100644 (file)
@@ -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;