Skip to main content

Websocket size validator

cp:otoroshi.next.plugins.WebsocketSizeValidator

Make sure the frame does not exceed the maximum size set.

categories:

  • Websocket

default configuration:

{
"client_max_payload" : 4096,
"upstream_max_payload" : 4096,
"reject_strategy" : "drop"
}