1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/test-server
Andy Green 1fb95e8084 close add api to control sent close frame contents
This adds an api lws_close_reason() which lets you control what will
be sent in the close frame when the connection is closed by returning
nonzero from the user callback.

The test server demo is extended to prove it works in both directions.

With this, we should have nice close support.

https://github.com/warmcat/libwebsockets/issues/196

Signed-off-by: Andy Green <andy.green@linaro.org>
2015-12-26 17:20:34 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh uridecoding disallow uriencoded equals in name part 2015-12-18 15:40:03 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
test-client.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
test-echo.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
test-fraggle.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
test-ping.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
test-server-dumb-increment.c close add api to control sent close frame contents 2015-12-26 17:20:34 +08:00
test-server-http.c clean uri arg dump 2015-12-18 10:46:24 +08:00
test-server-mirror.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
test-server-pthreads.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
test-server.c http header malloc pool implement pool 2015-12-25 14:34:20 +08:00
test-server.h win solve various cranky problems with msvc 2015-12-17 15:15:12 +08:00
test.html close add api to control sent close frame contents 2015-12-26 17:20:34 +08:00