Rugby Optimizations Update

Now I've had a little time to do some testing and built a set of test cases for server and client. These will be uploaded soon, because I want to test for some more bugs in Rugby.

It turns out that when the server reads 4096 bytes at a time from the buffer, it still hangs after 8680 bytes and then every 16 bytes above that. Therefore I lowered the read size to 2048 bytes which seems to work (purely by guessing unfortunately).

It's nearly as fast, but more importantly, it seems to be stable so far up to sending 50000 bytes from the client to the server.

A bug that causes a hang and 100% cpu on the server when sending exactly 3810 bytes to the server has been fixed.

Remember that the old sources are still available at the original location in the downloads section. The patched version is still available here.
|