1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Commit graph

  • bb2dc8aeb1 update test server html serving callback to use aepd whitelist approach Andy Green 2013-01-16 10:06:28 +08:00
  • 56d4697463 add libwebsockets.org logo to share Andy Green 2013-01-16 10:00:39 +08:00
  • 583f8b3b11 optimize http file sending Andy Green 2013-01-16 08:37:48 +08:00
  • 65b0e91061 listen socket more frequent service Andy Green 2013-01-16 07:59:47 +08:00
  • fa17ca7225 add empty m4 dir as workaround for autoreconf issue Andy Green 2013-01-15 21:56:12 +08:00
  • a824d18bc5 allow LWS_SOMAXCONN to be defined at configuretime Andy Green 2013-01-15 20:52:29 +08:00
  • 5fc460cd41 extpoll use hashtable for fd tracking Andy Green 2013-01-15 19:44:33 +08:00
  • 29da6d9443 allow building just the library not the testapps Andy Green 2013-01-15 19:57:06 +08:00
  • 63ca55e9b3 make sure we have PATH_MAX on some linux toolchains (AG modified a bit) Jack Mitchell 2013-01-15 19:49:05 +08:00
  • 8db451f363 extpoll break out of loop when set or clear finds fd Edwin van der Oetelaar 2013-01-15 16:22:34 +08:00
  • d280b6ecb3 http service break into outer loop states Andy Green 2013-01-15 13:40:23 +08:00
  • a50dd1af40 merge test server extpoll into test server Andy Green 2013-01-15 12:39:48 +08:00
  • 5e59bf15e1 optimize extpoll fd delete Edwin van der Oetelaar 2013-01-15 11:23:05 +08:00
  • 73abc25cb5 deal with SSL_ERROR_WANT_ in client connect action Andy Green 2013-01-13 11:05:30 +08:00
  • 43063dd250 add longlived option to test client Andy Green 2013-01-13 11:58:18 +08:00
  • f7609e9ada logging ensure everyone has a newline Andy Green 2013-01-14 13:10:55 +08:00
  • 3fc2c65d2f replace ifdefs around close socket with compatible_close Andy Green 2013-01-14 15:35:02 +08:00
  • 455d1fed06 ssl client certs fix crash Larry Hayes 2013-01-15 01:03:58 +08:00
  • 24b588b6d9 absorb README.rst into main README and code Andy Green 2013-01-13 09:53:18 +08:00
  • c0d6b63c83 expose compiletime constants to setting from configure Andy Green 2013-01-12 23:42:17 +08:00
  • d678ea3cd2 renable deflate frame buffer expansion fixing DoS Andy Green 2013-01-12 23:09:36 +08:00
  • 3c82019d52 fix config enable name for getifaddrs Andy Green 2013-01-12 23:31:39 +08:00
  • c4ef7b1609 introduce getifaddrs for toolchains without it David 2013-01-12 20:39:47 +08:00
  • 41c5803d0f audit and make all malloc check for OOM Andy Green 2013-01-12 13:21:08 +08:00
  • 8a26509800 logging add timestamp Andy Green 2013-01-12 09:25:07 +08:00
  • de8f27a80b logging extend level set api to allow setting emission function Andy Green 2013-01-12 09:17:42 +08:00
  • 7e9b427afc update README with info on new logging scheme Andy Green 2013-01-10 22:56:15 +08:00
  • 46ef0cf3c5 allow enabling debug contexts from test apps Andy Green 2013-01-10 22:28:59 +08:00
  • 43db045ff8 introduce logging api and convert all library output to use it Andy Green 2013-01-10 19:50:35 +08:00
  • 4550f1d7b5 compile in xcode, privatize debug macro Aaron Zinman 2013-01-10 12:35:18 +08:00
  • 6cd1ea9b00 update soname and configure to v1.0 v1.0-chrome25-firefox17 Andy Green 2013-01-10 12:35:18 +08:00
  • a63c24b35a correct autotools warning Andy Green 2013-01-10 12:36:59 +08:00
  • 988bd987af zlib code add OOM checks remove buffer expansion on rx path Andy Green 2013-01-10 12:26:13 +08:00
  • ed3c840ed6 Avoid leaking a socket when SSL_accept fails. David Galeano 2013-01-10 10:45:24 +08:00
  • 7c8d98924b Print error string on accept failure. David Galeano 2013-01-10 10:42:45 +08:00
  • 6b66791b46 Increased MAX_BROADCAST_PAYLOAD to match MAX_USER_RX_BUFFER. David Galeano 2013-01-10 10:41:10 +08:00
  • 229b7115bf Added README file with some useful tips for using the library. David Galeano 2013-01-10 10:39:57 +08:00
  • 96aa7e6a99 Added support for continuation frames on the server. David Galeano 2013-01-10 10:38:21 +08:00
  • 651544312c Close connection if LWS_CALLBACK_HTTP returns non-zero. David Galeano 2013-01-10 10:37:29 +08:00
  • 7ffbe1bfca Fixed to keep reading data until the SSL internal buffer is empty. Before this fix only 2048 bytes were read, the rest were buffered inside SSL until another message arrived!!! David Galeano 2013-01-10 10:35:32 +08:00
  • 4fbc40c07d Added no-cache headers to client handshake: http://www.ietf.org/mail-archive/web/hybi/current/msg09841.html David Galeano 2013-01-10 10:26:05 +08:00
  • ed3bc90174 Separate compression levels for server and client, increased the later one to zlib default (6). David Galeano 2013-01-10 10:24:32 +08:00
  • 1ed189e421 More correct handling of inflate result. David Galeano 2013-01-10 10:22:47 +08:00
  • e0d0fd72b3 Fixed crash when HTTP requests method is not GET. David Galeano 2013-01-10 10:20:01 +08:00
  • cc148e4029 Check if macro SSL_OP_NO_COMPRESSION is defined before trying to use it. David Galeano 2013-01-10 10:18:59 +08:00
  • 1aad881819 Using size_t instead of int for deflate-frame offsets and length. David Galeano 2013-01-10 10:18:17 +08:00
  • f177f2a15e Added private macro CIPHERS_LIST_STRING to define ciphers list string. David Galeano 2013-01-10 10:15:19 +08:00
  • 77a677c2bd When choosing a cipher, use the server's preferences. David Galeano 2013-01-10 10:14:12 +08:00
  • 584b316700 Pass URI length to LWS_CALLBACK_HTTP. David Galeano 2013-01-10 10:13:19 +08:00
  • c72f6f9fa0 Disable compression for SSL socket, it is a waste of CPU when using compression extensions. David Galeano 2013-01-10 10:11:57 +08:00
  • 9b3d4b2152 Using "SSL_CTX_use_certificate_chain_file" instead of "SSL_CTX_use_certificate_file" to support server certificates signed by intermediaries. David Galeano 2013-01-10 10:11:21 +08:00
  • 0d586c4930 Better definition of "debug" macro for Win32 builds. David Galeano 2013-01-10 10:08:50 +08:00
  • 7dd9bc57a5 Use __inline for Win32 builds. David Galeano 2013-01-10 10:07:16 +08:00
  • a1b39732d7 Avoid checking choked pipe if no extension has more data to write. David Galeano 2013-01-10 10:06:38 +08:00
  • 960da6eeb0 zlib update 1.2.7 David Galeano 2013-01-10 10:03:42 +08:00
  • 369730921e Set listen backlog to SOMAXCONN. David Galeano 2013-01-10 09:58:24 +08:00
  • b88e096e19 Fixed operator precedence bug. David Galeano 2013-01-10 09:54:10 +08:00
  • 01d0256b42 Avoid deflate of small packets. David Galeano 2013-01-10 09:51:15 +08:00
  • 2605ffe277 Support compressed packets bigger than MAX_USER_RX_BUFFER. (AG adapted style and removed logging stuff) David Galeano 2013-01-10 09:41:06 +08:00
  • 4c38f14527 Allow extensions when no protocol was specified. David Galeano 2013-01-09 19:49:50 +08:00
  • 85a092135e Added extension "deflate-frame". Using by default instead of "deflate-stream". David Galeano 2013-01-09 18:21:33 +08:00
  • e2cf992571 Added support for extensions that only manipulate application data. David Galeano 2013-01-09 18:06:55 +08:00
  • d58c6ab78d Fixed deflate-stream extension. When the output buffer was exhausted the input buffer was discarded without checking if zlib had actually consumed all the input, now we copy the remaining input data for the next call. David Galeano 2013-01-09 18:03:28 +08:00
  • c9f1ff843f Added private macro AWAITING_TIMEOUT instead of harcoded value 5. David Galeano 2013-01-09 18:01:23 +08:00
  • dae2dcb09e Fixed spacing. David Galeano 2013-01-09 16:35:18 +08:00
  • 2f82be89d5 Added context creation parameter for CA certificates file. David Galeano 2013-01-09 16:25:54 +08:00
  • 36750b84fd Return NULL if the handshake failed to complete, libwebsocket_service_fd closes and frees the websocket in that case. David Galeano 2013-01-09 16:17:04 +08:00
  • a3a97d1acc Ignoring linux build files David Galeano 2013-01-09 15:46:11 +08:00
  • b42dcc7186 Use feature check rather than browser check. David Galeano 2013-01-09 15:39:50 +08:00
  • aa0bc86143 Changed client handshake to use "Origin" instead of "Sec-WebSocket-Origin" as defined by RFC 6455 when using version 13 of the protocol. David Galeano 2013-01-09 15:31:46 +08:00
  • cb19368e14 Fixed compiler warnings on Windows. David Galeano 2013-01-09 15:29:00 +08:00
  • 2915a80a5f Added new status codes from RFC 6455. David Galeano 2013-01-09 15:26:08 +08:00
  • aeb574870e Fixed compiler warning on Windows. David Galeano 2013-01-09 15:25:05 +08:00
  • c451a4f4d5 required version of autoconf can be lower Artem Baguinski 2013-01-09 15:16:52 +08:00
  • d3ce131a78 Static variable is now const. David Galeano 2013-01-09 15:14:31 +08:00
  • 788c4a8fa8 add context construction option to skip server hostname lookup release-0.6 Andy Green 2012-10-22 12:29:57 +01:00
  • 15e31f373d add missing docs for new context user pointer Andy Green 2012-10-19 18:36:28 +08:00
  • dc93b7f2e7 libwebsocket_service_fd: EAGAIN is harmless, treat like EINTR Alon Levy 2012-10-19 11:21:57 +02:00
  • 0291eb3b95 libwebsocket_context: add userspace pointer for use before wsi creation Alon Levy 2012-10-19 11:21:56 +02:00
  • e1be13d8b5 lib/Makefile.am: whitespace fix Alon Levy 2012-10-19 11:21:55 +02:00
  • 3147b027fd add pkg-config file libwebsockets.pc Alon Levy 2012-10-19 11:21:54 +02:00
  • 88f8d5754c Added test.html favicon.ico to EXTRA_DIST. Anders Brander 2012-10-17 14:23:28 +02:00
  • 4e6fe90030 Add missing .h files to sources. Anders Brander 2012-10-17 13:48:59 +02:00
  • 4ed9bb8288 Add kernel doc to extra_dist. Anders Brander 2012-10-17 13:47:47 +02:00
  • 5e8967a54e always taking an interest in ppid wont hurt Andy Green 2012-10-17 20:10:44 +08:00
  • 7b6106214b remove depcomp Andy Green 2012-10-07 20:44:02 +08:00
  • fa3f405d1d stop being so fragile on socket lifecycle Andy Green 2012-10-07 20:40:35 +08:00
  • 94c62c652c use autogen.sh Andy Green 2012-10-06 15:17:01 +08:00
  • 71e5369175 add not about autoreconf and libtoolize Andy Green 2012-07-20 13:00:12 +08:00
  • 3928f6178a restore accept error as closure signal Andy Green 2012-07-20 12:58:38 +08:00
  • 915316644c check for prctl, poll parent PID if not present Artem Baguinski 2011-12-14 22:14:03 +01:00
  • 1e32663805 Fixing uninitialised memory Paulo Roberto Urio 2012-06-04 10:52:19 +08:00
  • 4144e83c9d some toolchains need stddef Paulo Roberto Urio 2012-06-04 09:04:33 +08:00
  • 5513fe0577 add missing sa_data init to canonical hostname code Andy Green 2012-06-04 08:53:26 +08:00
  • 1f680abb7d Fixed segfault in libwebsocket_context_destroy. Paulo Roberto Urio 2012-06-04 08:40:28 +08:00
  • d1db83c650 sockets were left open if connection could not be established resulting in a mass of unusable open file descriptors Tobias Maier 2012-05-30 12:46:42 +08:00
  • e59d477c07 link lz explicitly for mips yuval tal 2012-05-21 10:16:06 +08:00
  • d5512179fc null exception with null extensions list Andrew Chambers 2012-05-20 08:17:09 +08:00
  • 13f7791d0c refresh autotools stuff Andy Green 2012-05-20 08:17:02 +08:00
  • 86e82ab22f update test html now mozilla uses normal ws apis support-chrome-20-firefox-12 Andy Green 2012-05-03 12:48:14 +08:00