Hi,

According to "https://docs.basex.org/11/WebSockets";, the default limit for messages is 64 Kb. Exceeding the limit should raise an exception. However when using my BasexCpp library on a fast machine with a lot of memory, I can add successfuly a file, sized 358 kB, with one add-message. Adding the same file to a basexserver on a remote, slow machine, results in a crash. Neither the local nor remote console report a message.

I downloaded the Basex-sources and found in org.basex.core.cmd/Add.java that the cache() function may use a ADDCACHE option. Since the memory size of the server is limited, I wondered if setting this option might force the server to explicitly use a disk-cache.
Does the Basex server protocol offers any features for setting this option?

I have been collecting information on websocket programming and learned a lot on handshaking, maaual paring, framing, event-loops and other concepts. My guess is that most is not very helpfull.
Does anyone have good sugestions for relevant information?

Ben

--
Ben Engbers
Grietjeshof 77
6721 VH  Bennekom
+31 6 23634840

Reply via email to