Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b1786e77
Commit
b1786e77
authored
Dec 10, 2007
by
Jean-Paul Saman
Browse files
OPTIONS timeout of 5 seconds is way to short for some systems, so make it 30 instead.
parent
f32bdde1
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/Patches/live.patch
View file @
b1786e77
...
...
@@ -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;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment