Fix crash when InputMessage is too large
This commit is contained in:
parent
619305cc6d
commit
0a49f58e50
|
@ -4,5 +4,6 @@ Module
|
|||
author: edubart
|
||||
website: www.otclient.info
|
||||
scripts: [ shaders.lua ]
|
||||
sandboxed: true
|
||||
@onLoad: init()
|
||||
@onUnload: terminate()
|
||||
|
|
|
@ -5,4 +5,3 @@ Module
|
|||
sandboxed: true
|
||||
scripts: [tibiafiles.lua]
|
||||
@onLoad: init()
|
||||
@onUnload: terminate()
|
||||
|
|
|
@ -31,7 +31,7 @@ class InputMessage : public LuaObject
|
|||
{
|
||||
public:
|
||||
enum {
|
||||
BUFFER_MAXSIZE = 16384,
|
||||
BUFFER_MAXSIZE = 65536,
|
||||
MAX_HEADER_SIZE = 8
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue