Wforce has traditionally rolled its own webserver, using the YaHTTP library for HTTP parsing. It did not support TLS or many of the latest HTTP features.
This PR adds supports for TLS/HTTPS by:
Completely removing the old hand-rolled webserver code and YaHTTP library
Replacing with Drogon - a modern C++ HTTP(S) library supporting HTTP/HTTPS 1.0/1.1, which is extremely fast
It is backwards compatible with the old version, however to access the new features like HTTPS, new configuration commands are required. Notably the (single-use) "webserver()" config command is deprecated in favour of (multiple-use) "addListener()".
This PR also adds support for outbound HTTPS/TLS configuration, including:
Disabling host/peer verification
Loading custom certificate authorities to verify the peer
Loading client certificate/key for mTLS
Additionally this PR removes support for building debian-stretch packages.
Wforce has traditionally rolled its own webserver, using the YaHTTP library for HTTP parsing. It did not support TLS or many of the latest HTTP features. This PR adds supports for TLS/HTTPS by:
It is backwards compatible with the old version, however to access the new features like HTTPS, new configuration commands are required. Notably the (single-use) "webserver()" config command is deprecated in favour of (multiple-use) "addListener()".
This PR also adds support for outbound HTTPS/TLS configuration, including:
Additionally this PR removes support for building debian-stretch packages.
This PR addresses both #334 and #325