increase SAM connection buffer size

This commit is contained in:
orignal 2015-03-27 09:44:27 -04:00
parent d226477852
commit 96ace89789

2
SAM.h
View file

@ -18,7 +18,7 @@ namespace i2p
{
namespace client
{
const size_t SAM_SOCKET_BUFFER_SIZE = 4096;
const size_t SAM_SOCKET_BUFFER_SIZE = 8192;
const int SAM_SOCKET_CONNECTION_MAX_IDLE = 3600; // in seconds
const int SAM_SESSION_READINESS_CHECK_INTERVAL = 20; // in seconds
const char SAM_HANDSHAKE[] = "HELLO VERSION";