kc3-lang/libevent/sample

Branch :


Log

Author Commit Date CI Message
3a0cf34b 2023-03-04 22:29:09 ws-chat-server: fix potential resource leak
bac9d10a 2023-03-05 05:13:54 Fix potential null dereference in http-server (#1430) Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
72a4fe76 2022-11-12 18:59:41 ws-chat-server: fix session name initialization (using of uninitialized data)
8482e227 2022-11-12 18:44:44 ws-chat-server: avoid SIGSEGV in case of evws_new_session() failure
dda05f45 2022-11-12 18:11:08 sample/ws-chat.html: allow to open it via file:// protocol
c2ecb4ac 2022-10-12 14:13:44 Add locks for server WS, fixes #1357
10ed1f1c 2022-10-04 17:57:01 Change code for samples
e8313084 2022-09-12 22:16:56 Add minimal WebSocket server implementation for evhttp (#1322) This adds few functions to use evhttp-based webserver to handle incoming WebSockets connections. We've tried to use both libevent and libwebsockets in our application, but found that we need to have different ports at the same time to handle standard HTTP and WebSockets traffic. This change can help to stick only with libevent library. Implementation was inspired by modified Libevent source code in ipush project [1]. [1]: https://github.com/sqfasd/ipush/tree/master/deps/libevent-2.0.21-stable Also, WebSocket-based chat server was added as a sample.
c22f2757 2022-07-09 23:27:23 Use OPENSSL_VERSION_NUMBER over OPENSSL_VERSION_MAJOR (for compatibility) Since OpenSSL 3.0 there is new OPENSSL_VERSION_MAJOR, but previous releases does not have it. So let's use plain old OPENSSL_VERSION_NUMBER to avoid more preprocessor macros.
29c420c4 2022-06-18 21:43:31 Initial OpenSSL 3.0 support * Don't use deprecated functions when building against OpenSSL 3.0. * Recognise that OpenSSL 3.0 can signal a dirty shutdown as a protocol. error in addition to the expected IO error produced by OpenSSL 1.1.1 * Update regress_mbedtls.c for compatibility with OpenSSL 3