mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
Crawler example clears the response before each read:
fix #1100 Unfortunately the example still seems to hang, tested with 20 threads.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
Version 197:
|
||||
|
||||
* Improvements to echo-op example
|
||||
* Crawler example clears the response before each read
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -337,6 +337,7 @@ public:
|
||||
timer_.expires_after(chrono::seconds(timeout));
|
||||
|
||||
// Receive the HTTP response
|
||||
res_ = {};
|
||||
http::async_read(
|
||||
socket_,
|
||||
buffer_,
|
||||
|
Reference in New Issue
Block a user