Reject malicious large WebSocket messages?

Looks like there is a binary size limit for certain payload types. It is hardcoded to 10MB.

To summarize:

socket "/ws/admin", MyApp.AdminUserSocket, # or Phoenix.LiveView.Socket
  longpoll: true,
  websocket: [max_frame_size: 10_000_000] # 10 MB
1 Like