libwebsockets/lib
Andy Green dfb2304168 replace hashtable polltable management
This rips out the connection hashtable implementation along with
MAX_CLIENTS and replaces it with a dynamically allocated fds array
and lookup table along the same lines as the new extpoll implementation
from Edwin van den Oetelaar.

It detects the max number of file descriptors possible at context init
time and allocates accordingly; this can be externally controlled by
ulimit and the server run as a specific user to facilitate targeting
specific ulimit rules at it.

Many operations that translated between socket descriptors and struct
websocket or pollfd objects have had iteration removed by this patch
and under load will be a lot faster.

Signed-off-by: Andy Green <andy.green@linaro.org>
2013-01-17 15:50:10 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
client-handshake.c replace hashtable polltable management 2013-01-17 15:50:10 +08:00
client-parser.c update ping test client and stop exposing payload to extensions 2013-01-16 15:12:33 +08:00
client.c client allow remote server to accept with no protocol set 2013-01-17 00:50:48 +08:00
daemonize.c include daemonization file whoops 2013-01-17 15:49:27 +08:00
extension-deflate-frame.c logging ensure everyone has a newline 2013-01-15 15:41:15 +08:00
extension-deflate-frame.h Separate compression levels for server and client, 2013-01-10 12:45:54 +08:00
extension-deflate-stream.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
extension-deflate-stream.h Fixed deflate-stream extension. 2013-01-09 18:17:42 +08:00
extension-x-google-mux.c audit and make all malloc check for OOM 2013-01-12 13:21:08 +08:00
extension-x-google-mux.h Use __inline for Win32 builds. 2013-01-10 10:07:16 +08:00
extension.c Added extension "deflate-frame". 2013-01-09 18:21:33 +08:00
getifaddrs.c introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
getifaddrs.h introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
handshake.c update ping test client and stop exposing payload to extensions 2013-01-16 15:12:33 +08:00
libwebsockets.c replace hashtable polltable management 2013-01-17 15:50:10 +08:00
libwebsockets.h replace hashtable polltable management 2013-01-17 15:50:10 +08:00
Makefile.am introduce daemonize 2013-01-17 10:05:39 +08:00
md5.c introduce-private-md5-sha1.patch 2011-01-23 17:47:08 +00:00
output.c update ping test client and stop exposing payload to extensions 2013-01-16 15:12:33 +08:00
parsers.c update ping test client and stop exposing payload to extensions 2013-01-16 15:12:33 +08:00
private-libwebsockets.h replace hashtable polltable management 2013-01-17 15:50:10 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00