canonical libwebsockets.org websocket library
Find a file
Andy Green cf8b922df5 client: if NULL protocol vhost same linked list entry
Lws maintains a linked-list of wsi that are on the same vhost protocol...
it walks it to perform ..._all_protocol() type apis.

Client connections also participate in this list, but in the case the
selected protocol is not given during negotation (a legal case where
the server default protocol is selected) we missed adding the new
ws negotiated client wsi to the list.

This patch makes sure we add the wsi to the vhost protocols[0] list
in that case.

https://github.com/warmcat/libwebsockets/issues/716
2016-12-15 08:38:35 +08:00
cmake add missing CMake pieces 2014-02-16 01:52:50 +08:00
contrib android make script contrib 2016-04-23 18:28:03 +08:00
doc/html Better support for MINW32 2016-11-09 08:34:27 +08:00
doc-assets plugin table dirlisting 2016-07-14 08:57:28 +08:00
lib client: if NULL protocol vhost same linked list entry 2016-12-15 08:38:35 +08:00
lwsws lwsws license to cc0 2016-09-19 19:16:47 +08:00
plugin-standalone plugins add win modifiers before libwebsockets.h for dll export flag 2016-05-26 07:52:20 +08:00
plugins lwsgt: fix check against forgot password flow defeating existing pw check 2016-12-10 09:13:08 +08:00
scripts documentation convert to doxygen 2016-07-14 08:57:27 +08:00
test-server test-server-extpoll: add 1-per-second timeout servicing 2016-10-07 17:35:08 +08:00
win32port Better support for MINW32 2016-11-09 08:34:27 +08:00
.gitignore Better support for MINW32 2016-11-09 08:34:27 +08:00
.travis.yml travis: explicitly point to openssl on osx 2016-10-05 10:15:24 +08:00
Android.mk android include gregorys example makefile 2013-03-10 07:34:53 +08:00
appveyor.yml protocol generic sessions 2016-06-18 06:44:31 +08:00
autobahn-test.sh Do not use ps fax on Solaris. 2016-09-10 04:53:31 +08:00
changelog v2.1.0 2016-10-07 03:19:50 +08:00
CMakeLists.txt Update CMakeLists.txt for BSD + libdl 2016-12-10 09:13:08 +08:00
cross-arm-linux-gnueabihf.cmake cmake improve cross documentation 2013-03-30 10:30:03 +08:00
cross-ming.cmake Trac 53 minw update 2013-12-18 10:17:25 +08:00
cross-openwrt-makefile Allow using CyaSSL in stead of wolfSSL 2015-10-12 08:17:55 +08:00
FindLibWebSockets.cmake add cmake Find for lws 2015-10-13 08:20:41 +08:00
libwebsockets.dox plugin table dirlisting 2016-07-14 08:57:28 +08:00
libwebsockets.spec v2.1.0 2016-10-07 03:19:50 +08:00
LICENSE lwsws license to cc0 2016-09-19 19:16:47 +08:00
lws_config.h.in ubuntu: fix uv detection for lwsws 2016-10-05 14:00:55 +08:00
lws_config_private.h.in Check for sys/sockio.h. 2016-09-09 06:48:24 +08:00
mainpage.md documentation convert to doxygen 2016-07-14 08:57:27 +08:00
module.json mbed simplify 2016-01-26 20:45:10 +08:00
README.build.md Subject: Fix some typographical and grammatical errors. 2016-10-03 21:31:27 +08:00
README.coding.md Subject: Fix some typographical and grammatical errors. 2016-10-03 21:31:27 +08:00
README.esp8266.md client fixups after esp8266 2016-08-10 21:23:01 +08:00
README.generic-sessions.md doxygen use sections 2016-07-14 08:57:28 +08:00
README.generic-table.md plugin table dirlisting 2016-07-14 08:57:28 +08:00
README.lwsws.md ubuntu: fix uv detection for lwsws 2016-10-05 14:00:55 +08:00
README.md Update badges in README.md 2016-08-27 05:57:18 +08:00
README.problems.md plugin table dirlisting 2016-07-14 08:57:28 +08:00
README.test-apps.md Subject: Fix some typographical and grammatical errors. 2016-10-03 21:31:27 +08:00
release-checklist update api docs v2.0 2016-05-07 14:24:36 +08:00
travis_install.sh plugins 2016-04-07 09:38:08 +08:00

Travis Build Status Appveyor Build status Coverity Scan Build Status

libwebsockets

| News |

| ESP8266 is now supported in lws! See https://github.com/warmcat/libwebsockets/blob/master/README.esp8266.md |

This is the libwebsockets C library for lightweight websocket clients and servers. For support, visit

https://libwebsockets.org https://github.com/warmcat/libwebsockets

and consider joining the project mailing list at

https://libwebsockets.org/mailman/listinfo/libwebsockets

You can get the latest version of the library from git:

Doxygen API docs for master: https://libwebsockets.org/lws-api-doc-master/html/index.html

After libwebsockets 1.3, tags will be signed using a key corresponding to this public key

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1

mQINBFRe35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