From c73bf9a71a7f49ef5595ce565f039953c25b9ed9 Mon Sep 17 00:00:00 2001 From: drbob Date: Tue, 19 Jul 2011 11:29:59 +0000 Subject: [PATCH] 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 --- libretroshare/src/tcponudp/tcpstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/tcponudp/tcpstream.h b/libretroshare/src/tcponudp/tcpstream.h index 8d832f199..29c627554 100644 --- a/libretroshare/src/tcponudp/tcpstream.h +++ b/libretroshare/src/tcponudp/tcpstream.h @@ -38,7 +38,7 @@ #include "tcppacket.h" #include "udppeer.h" -#define MAX_SEG 1000 +#define MAX_SEG 1500 #define TCP_MAX_SEQ UINT_MAX #define TCP_MAX_WIN 65500 #define TCP_ALIVE_TIMEOUT 15 /* 15 sec ... < 20 sec UDP state limit on some firewalls */