Skip to content

Commit d8433a7

Browse files
committed
Increased comms buffer size
1 parent 1991d17 commit d8433a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ CString str = strText;
13471347

13481348
void CMUSHclientDoc::ReceiveMsg()
13491349
{
1350-
char buff [1000]; // must be less than COMPRESS_BUFFER_LENGTH or it won't fit
1350+
char buff [9000]; // must be less than COMPRESS_BUFFER_LENGTH or it won't fit
13511351
int count = m_pSocket->Receive (buff, sizeof (buff) - 1);
13521352

13531353
Frame.CheckTimerFallback (); // see if time is up for timers to fire

doc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "plugins.h"
1717
#include "version.h"
1818

19-
#define COMPRESS_BUFFER_LENGTH 1024 // size of decompression buffer
19+
#define COMPRESS_BUFFER_LENGTH 10000 // size of decompression buffer
2020
extern CString MUSHCLIENT_VERSION;
2121

2222
// ============================================================================

0 commit comments

Comments
 (0)