TNonblockingServer.DEFAULT_MAX_FRAME_SIZE

Maximum frame size, in bytes.

If a client tries to send a message larger than this limit, its connection will be closed. This helps to avoid allocating huge buffers on bogous input.

  1. uint maxFrameSize;
  2. enum uint DEFAULT_MAX_FRAME_SIZE;
    class TNonblockingServer
    enum uint DEFAULT_MAX_FRAME_SIZE;

Meta