Switched from custom zipper code to libarchive (better compatibility)
This commit is contained in:
@@ -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 {};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user