Improved connection stability with slow connections.
This commit is contained in:
parent
bfc34be48e
commit
736cf32e8a
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ Version 1.4.2+svn:
|
|||
* fixed issues with campaign info in non-compressed saved games
|
||||
(bug #11386)
|
||||
* Backported gracefull restart feature to server
|
||||
* Improved connection stability with slow connections.
|
||||
* fixed an alignement issue which caused a SIGBUS on a Sparc
|
||||
(debian bug #426318)
|
||||
* added some includes to fix compilation problems with Sun Studio 12
|
||||
|
|
|
@ -181,7 +181,7 @@ int receive_bytes(TCPsocket s, char* buf, size_t nbytes)
|
|||
}
|
||||
|
||||
bool receive_with_timeout(TCPsocket s, char* buf, size_t nbytes,
|
||||
bool update_stats=false, int timeout_ms=10000)
|
||||
bool update_stats=false, int timeout_ms=60000)
|
||||
{
|
||||
int startTicks = SDL_GetTicks();
|
||||
int time_used = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue