mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
![]() - Add platform helpers for pipe creation. - Change the direct-to-fds implementation to create a wsi for each pt and use the normal apis to bind it to the event loop. - Modifiy context creation and destroy to create and remove the event pipe wsis. - Create the event pipe wsis during context create if using the default poll() event loop, or when the other event loops start otherwise. - Add handler that calls back user code with LWS_CALLBACK_EVENT_WAIT_CANCELLED This patch allows you to call `lws_cancel_service(struct lws_context *context)` from another thread. It's very cheap for the other thread to call and is safe without locking. Every use protocol receives a LWS_CALLBACK_EVENT_WAIT_CANCELLED from the main thread serialized normally in the event loop. |
||
---|---|---|
.. | ||
android | ||
private | ||
.gitignore | ||
attack.sh | ||
candide.zip | ||
favicon.ico | ||
fuzxy.c | ||
http2.png | ||
leaf.jpg | ||
libwebsockets-test-server.service | ||
libwebsockets.org-logo.png | ||
lws-cgi-test.sh | ||
lws-common.js | ||
lws-ssh-test-keys | ||
lws-ssh-test-keys.pub | ||
test-client.c | ||
test-echo.c | ||
test-fraggle.c | ||
test-lejp.c | ||
test-ping.c | ||
test-server-dumb-increment.c | ||
test-server-http.c | ||
test-server-libev.c | ||
test-server-libevent.c | ||
test-server-libuv.c | ||
test-server-pthreads.c | ||
test-server-v2.0.c | ||
test-server.c | ||
test-server.h | ||
test-sshd.c | ||
test.html |