diff --git a/CHANGELOG.md b/CHANGELOG.md index ea138fa0..13f54b5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 197: * Improvements to echo-op example +* Crawler example clears the response before each read -------------------------------------------------------------------------------- diff --git a/example/http/client/crawl/http_crawl.cpp b/example/http/client/crawl/http_crawl.cpp index 3be4e8f6..e67d915e 100644 --- a/example/http/client/crawl/http_crawl.cpp +++ b/example/http/client/crawl/http_crawl.cpp @@ -337,6 +337,7 @@ public: timer_.expires_after(chrono::seconds(timeout)); // Receive the HTTP response + res_ = {}; http::async_read( socket_, buffer_,