canonical libwebsockets.org websocket library
![]() The client spams the server with mirror protocol content and then closes the connection. However the server wants to send that content back to all the mirror protocol connections, including the one that closed. The result is during the send back phase we usually see an error trying to send to the close client connection. Because we don't return -1, we don't close it on server side and the error repeats a lot before finally closing. This is a side- effect of a recent patch to drain pending input before really closing a dead connection. This patch just changes it to return -1 on the failed send attempt assertively closing the connection. Signed-off-by: Andy Green <andy.green@linaro.org> |
||
---|---|---|
cmake | ||
lib | ||
m4 | ||
scripts | ||
test-server | ||
win32port | ||
.gitignore | ||
autogen.sh | ||
changelog | ||
CMakeLists.txt | ||
config.h.cmake | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
libwebsockets-api-doc.html | ||
libwebsockets.pc.in | ||
libwebsockets.spec | ||
LICENSE | ||
Makefile.am | ||
README | ||
README.build | ||
README.coding | ||
README.test-apps |
This is the libwebsockets C library for lightweight websocket clients and servers. For support, visit http://libwebsockets.org and consider joining the project mailing list at http://ml.libwebsockets.org/mailman/listinfo/libwebsockets You can get the latest version of the library from git http://git.libwebsockets.org https://github.com/warmcat/libwebsockets for more information: README.build - information on building the library README.coding - information for writing code using the library README.test-apps - information about the test apps built with the library