mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00

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
37 lines
575 B
Bash
Executable file
37 lines
575 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ "$COVERITY_SCAN_BRANCH" == 1 ]; then exit; fi
|
|
|
|
if [ "$TRAVIS_OS_NAME" == "linux" ];
|
|
then
|
|
sudo apt-get update -qq
|
|
|
|
if [ "$LWS_METHOD" == "libev" ];
|
|
then
|
|
sudo apt-get install -y -qq libev-dev;
|
|
fi
|
|
|
|
if [ "$LWS_METHOD" == "libuv" -o "$LWS_METHOD" == "lwsws" ];
|
|
then
|
|
sudo apt-get install -y -qq libuv-dev;
|
|
fi
|
|
|
|
fi
|
|
|
|
if [ "$TRAVIS_OS_NAME" == "osx" ];
|
|
then
|
|
if [ "$LWS_METHOD" == "libev" ];
|
|
then
|
|
brew update;
|
|
brew install libev;
|
|
fi
|
|
|
|
if [ "$LWS_METHOD" == "libuv" -o "$LWS_METHOD" == "lwsws" ];
|
|
then
|
|
brew update;
|
|
brew install libuv;
|
|
fi
|
|
|
|
fi
|
|
|
|
|