mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() 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> |
||
---|---|---|
.. | ||
.gitignore | ||
attack.sh | ||
favicon.ico | ||
leaf.jpg | ||
libwebsockets.org-logo.png | ||
Makefile.am | ||
test-client.c | ||
test-echo.c | ||
test-fraggle.c | ||
test-ping.c | ||
test-server.c | ||
test.html |