1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/test-apps
Andy Green 904a9c0920 http2: make usable
HTTP/2 support is now able to serve the test server, complete with
websockets, from a single vhost.

 - This works the same with both OpenSSL and mbedTLS.

 - POST is now wired up and works (also for file upload).

 - CGI is wired up and works.

 - Redirect is adapted and works

 - lwsws works.

 - URI urldecode, sanitation and argument parsing wired up for :path

valgrind clean (aside from openssl-style false uninit data usage in mbedtls send occasionally)

h2spec reports:

$ h2spec  -h 127.0.0.1 -p 7681 -t -k -o 1
...
145 tests, 145 passed, 0 skipped, 0 failed"

Incorporates:

 - "https://github.com/warmcat/libwebsockets/pull/1039
	Fixes issue with -Werror=unused-variable flag

 - 2c843a1395
	ssl: fix infinite loop on client cert verification failure

Signed-off-by: Petar Paradzik <petar.paradzik@sartura.hr>"

Caused and fixes Coverity 184887 - 184892
2017-10-16 17:13:49 +08:00
..
android CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
private clean up top level of project 2017-09-27 08:24:05 +08:00
.gitignore clean up top level of project 2017-09-27 08:24:05 +08:00
attack.sh http2: make usable 2017-10-16 17:13:49 +08:00
candide.zip clean up top level of project 2017-09-27 08:24:05 +08:00
favicon.ico clean up top level of project 2017-09-27 08:24:05 +08:00
fuzxy.c clean up top level of project 2017-09-27 08:24:05 +08:00
http2.png http2: make usable 2017-10-16 17:13:49 +08:00
leaf.jpg clean up top level of project 2017-09-27 08:24:05 +08:00
libwebsockets-test-server.service clean up top level of project 2017-09-27 08:24:05 +08:00
libwebsockets.org-logo.png clean up top level of project 2017-09-27 08:24:05 +08:00
lws-cgi-test.sh http2: make usable 2017-10-16 17:13:49 +08:00
lws-common.js http2: make usable 2017-10-16 17:13:49 +08:00
lws-ssh-test-keys Plugins: add ssh-base ssh server plugin 2017-10-16 16:59:57 +08:00
lws-ssh-test-keys.pub Plugins: add ssh-base ssh server plugin 2017-10-16 16:59:57 +08:00
test-client.c http2: make usable 2017-10-16 17:13:49 +08:00
test-echo.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-fraggle.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-ping.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-server-dumb-increment.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-server-http.c http2: make usable 2017-10-16 17:13:49 +08:00
test-server-libev.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-server-libevent.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-server-libuv.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-server-pthreads.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-server-v2.0.c clean up top level of project 2017-09-27 08:24:05 +08:00
test-server.c http2: make usable 2017-10-16 17:13:49 +08:00
test-server.h clean up top level of project 2017-09-27 08:24:05 +08:00
test-sshd.c Plugins: add ssh-base ssh server plugin 2017-10-16 16:59:57 +08:00
test.html http2: make usable 2017-10-16 17:13:49 +08:00