mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
Fixed problems with Win32 build
This commit is contained in:
parent
d7bb402ca7
commit
64991a560a
2 changed files with 3 additions and 1 deletions
|
@ -530,7 +530,7 @@ protected:
|
|||
.Get("/streamed-cancel",
|
||||
[&](const Request & /*req*/, Response &res) {
|
||||
res.set_content_provider(
|
||||
uint64_t(-1),
|
||||
size_t(-1),
|
||||
[](uint64_t /*offset*/, uint64_t /*length*/, Out out) {
|
||||
std::string data = "data_chunk";
|
||||
out(data.data(), data.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue