mbedtls fixes / the unittest now pass on macOS, and hopefully will on Windows/AppVeyor as well.

This commit is contained in:
Benjamin Sergeant
2019-09-27 14:07:01 -07:00
parent 0499a80c55
commit 1b6584ccba
7 changed files with 26 additions and 11 deletions

View File

@@ -153,10 +153,9 @@ namespace ix
// See https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections
//
setOnConnectionCallback(
[this, redirectUrl](
HttpRequestPtr request,
std::shared_ptr<ConnectionState> /*connectionState*/) -> HttpResponsePtr {
[this,
redirectUrl](HttpRequestPtr request,
std::shared_ptr<ConnectionState> /*connectionState*/) -> HttpResponsePtr {
WebSocketHttpHeaders headers;
headers["Server"] = userAgent();