diff options
| author | Dan Engelbrecht <[email protected]> | 2024-11-28 23:34:00 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-11-28 23:34:00 +0100 |
| commit | b960d42525ed1239dc32175204171880dc9a5403 (patch) | |
| tree | 39536dca7f15f943ab4d451946874739f38fe940 /src/zenhttp/httpclient.cpp | |
| parent | fix oplog index path reading error (#246) (diff) | |
| download | zen-b960d42525ed1239dc32175204171880dc9a5403.tar.xz zen-b960d42525ed1239dc32175204171880dc9a5403.zip | |
make sure we don't throw exception from worker thread (#247)
* Make sure we don't throw exception from worker thread
* secure async project flush
* secure workspaces
* spelling
Diffstat (limited to 'src/zenhttp/httpclient.cpp')
| -rw-r--r-- | src/zenhttp/httpclient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenhttp/httpclient.cpp b/src/zenhttp/httpclient.cpp index 87097ca45..9af909fcf 100644 --- a/src/zenhttp/httpclient.cpp +++ b/src/zenhttp/httpclient.cpp @@ -387,7 +387,7 @@ ValidatePayload(cpr::Response& Response, std::unique_ptr<detail::TempPayloadFile uint64_t RawSize; if (!CompressedBuffer::ValidateCompressedHeader(ResponseBuffer, RawHash, RawSize)) { - Response.error = cpr::Error(/*CURLE_READ_ERROR*/ 26, "Compressed binary failed validateion"); + Response.error = cpr::Error(/*CURLE_READ_ERROR*/ 26, "Compressed binary failed validation"); return false; } } @@ -400,7 +400,7 @@ ValidatePayload(cpr::Response& Response, std::unique_ptr<detail::TempPayloadFile IoHash PayloadHash = IoHash::HashBuffer(ResponseBuffer); if (PayloadHash != ExpectedPayloadHash) { - Response.error = cpr::Error(/*CURLE_READ_ERROR*/ 26, "Compressed binary failed validateion"); + Response.error = cpr::Error(/*CURLE_READ_ERROR*/ 26, "Compressed binary failed validation"); return false; } } |