1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/test-server
Andy Green 98df6722ea LWS_WITH_PEER_LIMITS
Introduces an optional, settable restriction on the number of
simultaneous wsi connections and ah that a single peer IP can
obtain.

The default is disabled for build, and if enabled, unlimited.

However when enabled at CMake, setting info.ip_limit_ah and / or
info.ip_limit_wsi at context creation time will enforce the limits.

Connections past the info.ip_limit_wsi limit are dropped, and
connections needing an ah are forced to stay in the ah waiting list
even when ah are available, while the peer is at the number of
ah in info.ip_limit_ah.
2017-09-19 12:09:17 +08:00
..
android Android: update to use SDK Python script 2016-06-07 02:42:32 +08:00
private basic-auth 2016-12-16 22:08:13 +08:00
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh attack.sh: adapt to changes 2017-07-28 07:04:54 +08:00
candide.zip fops-zip 2017-03-05 15:32:55 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
fuzxy.c Subject: LWS_UNUSED 2017-06-19 10:57:39 +08:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets-test-server.service test server example systemd service file 2016-02-19 12:46:36 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
lws-cgi-test.sh cgi post 2016-04-13 11:53:40 +08:00
lws-common.js lws-meta 2017-07-19 08:59:42 +08:00
test-client.c docs: clarify difference between client and server ssl members in creation_info struct 2017-09-19 12:09:17 +08:00
test-echo.c Subject: Direct extension confirmation to the negotiated protocol's callback 2017-05-29 08:30:26 +08:00
test-fraggle.c client: decruft extensions 2017-02-03 10:39:37 +08:00
test-ping.c ping test app: avoid FPE when no packets received 2017-08-04 13:28:01 +08:00
test-server-dumb-increment.c Subject: gcc format strings: Make GCC check format strings, fix found problems 2017-02-05 21:32:30 +08:00
test-server-http.c cgi: provide constants for reason_bf 2017-08-26 12:15:40 +08:00
test-server-libev.c test servers: convert to static inclusion of plugins 2017-06-28 11:16:48 +08:00
test-server-libevent.c libevent: update to use static plugins and work with new libevent2 2017-07-27 07:57:59 +08:00
test-server-libuv.c test-server-libuv: add lws_meta 2017-07-27 07:29:56 +08:00
test-server-pthreads.c lws_intptr_t 2017-07-07 08:32:04 +08:00
test-server-v2.0.c lws-meta 2017-07-19 08:59:42 +08:00
test-server.c LWS_WITH_PEER_LIMITS 2017-09-19 12:09:17 +08:00
test-server.h test servers: convert to static inclusion of plugins 2017-06-28 11:16:48 +08:00
test.html lws-meta 2017-07-19 08:59:42 +08:00