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:
drbob 2011-07-19 11:29:59 +00:00
parent 608cc32938
commit c73bf9a71a

View File

@ -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 */