Alex

Results 11 comments of Alex

I'm using UDP with libevent for years, including features like evbuffer. I don't think that libevent needs any special integration for UDP. The "libevent can't do UDP" misconception arises, because...

I don't think a mimalloc benchmark is relevant anymore. Mimalloc has memory bloating problems now. Also the overall performance of mimalloc dropped. The mimalloc project does not seem to be...

> The issue you mentioned happen on Windows only, not Linux. Same on linux, look at the rss.

Here is how rpmalloc can be used with ASAN under and MSVC. https://learn.microsoft.com/en-us/cpp/sanitizers/asan-runtime?view=msvc-170#custom-allocators-and-the-addresssanitizer-runtime I did choose another way. I made wrapper function around the rpmalloc functions and control with a...

The rotate-and-add "trick" is because the lower two bits of a HANDLE (SOCKET) are zero most of the time because they are reserved as tag bits for the user space...

You should run it on the code base from master and not the ~5 year old release. A lot of the code base, especially the http.c changed significantly.

You can use `bufferevent_setwatermark` so that the read_cb gets called after a specific amount of data has accumulated. Also setting `TCP_NODELAY` socket option helps to get a more "datagram" like...

Does your protocol have a header with size information? You can read the header in the callback, interpret the size field and then wait/read up to the size from the...

Does your server show "Computed md5 hash is incorrect." or "Sabre\DAV\Exception: Unknown error while seeking content" in the Log? You can try disabling the bulk feature on the server ('bulkupload.enabled'...

Next release is tracked here: https://github.com/libevent/libevent/issues/1512