1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib
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
..
mbedtls_wrapper http2: make usable 2017-10-16 17:13:49 +08:00
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
alloc.c http2: make usable 2017-10-16 17:13:49 +08:00
base64-decode.c base64 decode fix lengths 2016-08-10 21:20:23 +08:00
client-handshake.c heap instrumentation 2017-10-16 17:13:49 +08:00
client-parser.c clean 2017-09-27 08:24:05 +08:00
client.c http2: make usable 2017-10-16 17:13:49 +08:00
context.c http2: make usable 2017-10-16 17:13:49 +08:00
daemonize.c context deprecation 2016-12-20 14:37:07 +08:00
extension-permessage-deflate.c heap instrumentation 2017-10-16 17:13:49 +08:00
extension-permessage-deflate.h extension permessage deflate 2016-01-11 11:34:01 +08:00
extension.c pmd: autobahn fixes 2017-07-28 13:12:03 +08:00
fops-zip.c heap instrumentation 2017-10-16 17:13:49 +08:00
getifaddrs.c heap instrumentation 2017-10-16 17:13:49 +08:00
getifaddrs.h esp8266 initial support 2016-08-10 21:20:23 +08:00
handshake.c http2: make usable 2017-10-16 17:13:49 +08:00
header.c http2: make usable 2017-10-16 17:13:49 +08:00
hpack.c http2: make usable 2017-10-16 17:13:49 +08:00
http2.c http2: make usable 2017-10-16 17:13:49 +08:00
huftable.h http2 hpack basic decode ok including huff 2014-10-12 08:38:16 +08:00
lejp-conf.c http2: make usable 2017-10-16 17:13:49 +08:00
lejp.c documentation convert to doxygen 2016-07-14 08:57:27 +08:00
lejp.h documentation convert to doxygen 2016-07-14 08:57:27 +08:00
lextable-strings.h http2: make usable 2017-10-16 17:13:49 +08:00
lextable.h http2: make usable 2017-10-16 17:13:49 +08:00
libev.c clean 2017-09-27 08:24:05 +08:00
libevent.c clean 2017-09-27 08:24:05 +08:00
libuv.c heap instrumentation 2017-10-16 17:13:49 +08:00
libwebsockets.c http2: make usable 2017-10-16 17:13:49 +08:00
libwebsockets.h http2: make usable 2017-10-16 17:13:49 +08:00
lws-genhash.c CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
lws-plat-esp32.c http2: make usable 2017-10-16 17:13:49 +08:00
lws-plat-esp8266.c heap instrumentation 2017-10-16 17:13:49 +08:00
lws-plat-optee.c heap instrumentation 2017-10-16 17:13:49 +08:00
lws-plat-unix.c http2: make usable 2017-10-16 17:13:49 +08:00
lws-plat-win.c windows: defeat service if no vhosts 2017-10-16 17:13:49 +08:00
minihuf.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
minilex.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
output.c http2: make usable 2017-10-16 17:13:49 +08:00
parsers.c http2: make usable 2017-10-16 17:13:49 +08:00
pollfd.c http2: make usable 2017-10-16 17:13:49 +08:00
private-libwebsockets.h http2: make usable 2017-10-16 17:13:49 +08:00
ranges.c clean 2017-09-27 08:24:05 +08:00
rewrite.c heap instrumentation 2017-10-16 17:13:49 +08:00
romfs.c esp32: ROMFS use checksum as mtime so ETAG caching works 2017-04-05 10:44:28 +08:00
romfs.h esp32: ROMFS use checksum as mtime so ETAG caching works 2017-04-05 10:44:28 +08:00
server-handshake.c LWS_CALLBACK_ADD_HEADERS: also on upgrade headers 2017-09-27 08:24:04 +08:00
server.c http2: make usable 2017-10-16 17:13:49 +08:00
service.c http2: make usable 2017-10-16 17:13:49 +08:00
sha-1.c polarssl implementation 2016-04-18 20:05:43 +08:00
smtp.c heap instrumentation 2017-10-16 17:13:49 +08:00
ssl-client.c CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
ssl-http2.c http2: make usable 2017-10-16 17:13:49 +08:00
ssl-server.c http2: make usable 2017-10-16 17:13:49 +08:00
ssl.c http2: make usable 2017-10-16 17:13:49 +08:00