bhauman / figwheel-repl

Figwheel REPL provides a stable multiplexing REPL for ClojureScript
45 stars 11 forks source link

Set WS message size limit to 16M #3

Closed fdserr closed 5 years ago

fdserr commented 5 years ago

FIXES https://github.com/bhauman/figwheel-main/issues/154

For security reasons, the default message size limit for Jetty websockets is 64KB. This hurts, FW REPL evaluation just times out without error message. This PR enables a 'ws-max-msg-size' parameter and sets the default to 16MB.

PS: sorry for the extra linting by Parinfer.

bhauman commented 5 years ago

Excellent :)