mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
d0f52f1d5f
* Reduce Maximum Transmission size from 1500 -> 1000. This is the cause of Failed Connections. It looks like UDP packets are being truncated from 1520 -> 1492 bytes. and this is killing the TCP protocol. Windows is the main suspect. UDP packets this large are liable to get fragmented anyway. We will start at 1000, verify that connections are okay, then start increasing this parameter. There is up to 64 bytes of Headers (IP + UDP + Relay + TOU), so 1400 + 64 = 1464 is below the 1492 cutoff. This is the target! * Switch to RSRandom for Sequence numbers. rand() is rubbish on Windows. * Added code to handle Larger Packets coming in (e.g. 1500 Bytes input, now that Max Size is 1000). NB: The code is here needs to be optimised, there are excessive numbers of malloc(), new() & memcpy(), which should be removed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4482 b45a01b8-16f6-495d-af2f-9b41ad6348cc |
||
---|---|---|
build_scripts | ||
libbitdht/src | ||
libretroshare/src | ||
plugins | ||
retroshare-gui/src | ||
retroshare-nogui/src | ||
build-all-mingw32make.bat | ||
RetroShare.pro |