mirror of https://github.com/quasar/Quasar.git
Changed max packet size
Prevents crash in Remote Desktop for packets bigger than 1MB
This commit is contained in:
parent
d95672ea16
commit
a08e002f84
|
@ -75,7 +75,7 @@ public enum ReceiveType
|
|||
public const uint KEEP_ALIVE_INTERVAL = 25000;
|
||||
|
||||
public const int HEADER_SIZE = 4;
|
||||
public const int MAX_PACKET_SIZE = (1024*1024)*1; //1MB
|
||||
public const int MAX_PACKET_SIZE = (1024*1024)*2; //2MB
|
||||
private Socket _handle;
|
||||
private int _typeIndex;
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ public enum ReceiveType
|
|||
public const uint KEEP_ALIVE_INTERVAL = 25000;
|
||||
|
||||
public const int HEADER_SIZE = 4;
|
||||
public const int MAX_PACKET_SIZE = (1024*1024)*1; //1MB
|
||||
public const int MAX_PACKET_SIZE = (1024*1024)*2; //2MB
|
||||
private Socket _handle;
|
||||
private int _typeIndex;
|
||||
|
||||
|
|
Loading…
Reference in New Issue