forked from boostorg/beast
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 parent
88eef1e9e3
commit
c11682032b
2 files changed
+2
No files matched your search
@@ -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