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 95fff47a91 client-add-PUSH-http-body-capability
Support HTTP body sending on client connections.

Add demo to test-client.

Run the normal test server, then

$ libwebsockets-test-client http://localhost:7681/formtest -o

It will post the string "hello" to the POST test using application/x-www-form-urlencoded

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

Also ensures any of the Client HTTP transient modes will call back LWS_CALLBACK_CLOSED_CLIENT_HTTP
if they close

https://github.com/warmcat/libwebsockets/issues/600
2016-08-10 21:23:01 +08:00
..
android Android: update to use SDK Python script 2016-06-07 02:42:32 +08:00
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh fix %3d handling in path part and add attack.sh 2016-05-07 08:31:33 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
fuzxy.c Don't include <sys/cdefs.h> for NetBSD 2016-02-27 10:30:59 +08:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets-test-server.service test server example systemd service file 2016-02-19 12:46:36 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
lws-cgi-test.sh cgi post 2016-04-13 11:53:40 +08:00
lws-common.js plugin table dirlisting 2016-07-14 08:57:28 +08:00
test-client.c client-add-PUSH-http-body-capability 2016-08-10 21:23:01 +08:00
test-echo.c LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT to default to runtime ssl disable 2016-03-23 09:22:11 +08:00
test-fraggle.c LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT to default to runtime ssl disable 2016-03-23 09:22:11 +08:00
test-ping.c LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT to default to runtime ssl disable 2016-03-23 09:22:11 +08:00
test-server-dumb-increment.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-echogen.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-http.c plugins-dim-webpage-when-connection-lost 2016-07-14 08:57:28 +08:00
test-server-libev.c test-libev add server-status protocol 2016-07-14 08:57:27 +08:00
test-server-libuv.c libuv fixes for foreign loop test 2016-05-04 08:40:46 +08:00
test-server-mirror.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-pthreads.c polarssl implementation 2016-04-18 20:05:43 +08:00
test-server-status.c win32 needs strange strftime args 2016-04-05 19:15:34 +08:00
test-server-v2.0.c protocol generic sessions 2016-06-18 06:44:31 +08:00
test-server.c reduce log spew and document test-server variants 2016-07-14 08:57:27 +08:00
test-server.h protocol generic sessions 2016-06-18 06:44:31 +08:00
test.html esp8266 initial support 2016-08-10 21:20:23 +08:00