mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
returned MAX_SEG to 1500, as this definitely causes a bug (code is dependent on not getting larger packets).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4474 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
608cc32938
commit
c73bf9a71a
@ -38,7 +38,7 @@
|
|||||||
#include "tcppacket.h"
|
#include "tcppacket.h"
|
||||||
#include "udppeer.h"
|
#include "udppeer.h"
|
||||||
|
|
||||||
#define MAX_SEG 1000
|
#define MAX_SEG 1500
|
||||||
#define TCP_MAX_SEQ UINT_MAX
|
#define TCP_MAX_SEQ UINT_MAX
|
||||||
#define TCP_MAX_WIN 65500
|
#define TCP_MAX_WIN 65500
|
||||||
#define TCP_ALIVE_TIMEOUT 15 /* 15 sec ... < 20 sec UDP state limit on some firewalls */
|
#define TCP_ALIVE_TIMEOUT 15 /* 15 sec ... < 20 sec UDP state limit on some firewalls */
|
||||||
|
Loading…
Reference in New Issue
Block a user