Hi Andy,
I wanted to introduce new options first, but I dropped this approach, and I decided to simulate the old behavior of Jetty. The init-param entries in the web.xml file are now parsed by BaseX and assigned to the WebSocket instance when the first WebSocket connection
is created [1].
As a consequence, existing Jetty 9 web.xml WebSocket configurations should work again. Feel free to check out the latest snapshot [2] to verify if that’s true.
Best,
Christian
PS: The docs have been updated, too [3].
Hi,
I would like to increase the websocket message length from the default of 64 KB.
The websocket documentation implies this can be done via web.xml [1]
However, while searching for the syntax I came across the suggestion it is different with the Jetty version 12 API [2]
The Jetty docs have this example [3]
// Configure the ServerContainer.
container.setDefaultMaxTextMessageBufferSize(128 * 1024);
but my quick code search of the BaseX source found nothing similar.
Is it possible to configure the webSocket MaxTextMessageBufferSize in BaseX 12.0?
/Andy