1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/misc
Andy Green af20721500 threadpool: enable to use secure streams as well as direct wsi
This extends threadpool slightly so it can bind enqueued tasks to a
secure streams handle as well as a straight wsi.

Either the .wsi must be set as before, or the .ss handle if you are
using secure streams, when enqueuing a task on the taskpool.

A couple of other helpers get ss-aware wrappers if LWS_WITH_SECURE_STREAMS

Although threadpool was originally designed for server (gitohashi)
actually it's also fine working with client wsi / Secure Streams,
if you have a situation a client connection is associated with heavy
processing.
2020-03-16 13:58:07 +00:00
..
fts lws_struct sqlite3 2020-03-04 11:00:04 +00:00
lwsac client: secure streams 2020-03-04 12:17:49 +00:00
threadpool threadpool: enable to use secure streams as well as direct wsi 2020-03-16 13:58:07 +00:00
base64-decode.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
daemonize.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
dir.c cmake: fix situation like mingw where toolchain file sets platform defines 2020-02-04 14:16:18 +00:00
diskcache.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
fsmount.c fsmount: delete session dir on mount 2020-03-05 14:12:24 +00:00
getifaddrs.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
getifaddrs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
lejp.c lejp: fix warnings on windows 2019-10-23 06:36:11 +01:00
lws-ring.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
lws-struct-lejp.c lws_struct: store which toplevel schema matched 2020-03-04 12:17:48 +00:00
lws-struct-sqlite.c lws_struct sqlite3 2020-03-04 11:00:04 +00:00
peer-limits.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
romfs.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
romfs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
sha-1.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
spawn.c lws_spawn_piped: break out from cgi 2020-02-21 17:32:41 +00:00