websocket: limit maximum message length
miguelgrinberg opened this issue · comments
Miguel Grinberg commented
Discussed in #192
Miguel Grinberg commented
By default the limit set in Request.max_body_length
is now also a limit for incoming WebSocket messages. You can use a different size by setting WebSocket.max_message_length
. Set to 0 to disable size checks on WebSocket messages.