Feature/ws windows (#86)

* try to build ws on window on travis 📮

* cmake invocation fixed on windows 🐝

* Can use mbedtls to calculate hmac + no openssl config option

* build only windows on travis 🕢

* run msbuild 💷

* proper command to build 🕛

* some build fixes

* change weird sizeof call 🐙

* warning and missing includes fixes 💮

* ifdef out statsd code on windows 🐍

* logic invertion in ifdef 👄

* bring back makefile 📜

* command line tool is built with mbedtls 🏥
This commit is contained in:
Benjamin Sergeant
2019-06-02 20:46:20 -07:00
committed by GitHub
parent 88c8fb74bb
commit 396d0d9bdc
19 changed files with 3716 additions and 1693 deletions

View File

@ -272,10 +272,10 @@ namespace ix
log(oss.str(), args);
}
payload.reserve(payload.size() + chunkSize);
payload.reserve(payload.size() + (size_t) chunkSize);
// Read a chunk
auto chunkResult = _socket->readBytes(chunkSize,
auto chunkResult = _socket->readBytes((size_t) chunkSize,
args.onProgressCallback,
isCancellationRequested);
if (!chunkResult.first)