Switched from custom zipper code to libarchive (better compatibility)

This commit is contained in:
emeric
2023-06-25 16:40:10 +02:00
parent 6bbe6b6eec
commit db7bbf13d6
22 changed files with 558 additions and 937 deletions
+3 -4
View File
@@ -29,13 +29,12 @@ class FileResourceHandler final : public IResourceHandler
private:
Wt::Http::ResponseContinuation* processRequest(const Wt::Http::Request& request, Wt::Http::Response& response) override;
void abort() override {};
static constexpr std::size_t _chunkSize {65536};
std::filesystem::path _path;
::uint64_t _beyondLastByte {};
::uint64_t _offset {};
bool _isFinished {};
::uint64_t _beyondLastByte {};
::uint64_t _offset {};
};