mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix(SimpleWebTransport): increasing default handshake max size (#3857)
Some browsers will send handshake larger than 3k, setting default limit to 16k so user dont have to worry about changing it
This commit is contained in:
parent
2241aa5f92
commit
f73d4b87df
@ -18,7 +18,7 @@ public class SimpleWebTransport : Transport, PortTransport
|
||||
|
||||
[FormerlySerializedAs("handshakeMaxSize")]
|
||||
[Tooltip("Max size for http header send as handshake for websockets")]
|
||||
public int maxHandshakeSize = 3000;
|
||||
public int maxHandshakeSize = 16 * 1024;
|
||||
|
||||
[FormerlySerializedAs("serverMaxMessagesPerTick")]
|
||||
[Tooltip("Caps the number of messages the server will process per tick. Allows LateUpdate to finish to let the reset of unity continue in case more messages arrive before they are processed")]
|
||||
|
Loading…
Reference in New Issue
Block a user