forked from boostorg/beast
handler_ptr is deprecated (API Change):
* `handler_ptr` is deprecated and should not be used. Actions Required: * Replace use of `handler_ptr` with `stable_async_base` and `allocate_stable`.
This commit is contained in:
@@ -110,7 +110,7 @@ class counted_stream
|
||||
// Count the bytes transferred towards the total
|
||||
stream_.bytes_read_ += bytes_transferred;
|
||||
|
||||
this->invoke_now(ec, bytes_transferred);
|
||||
this->complete_now(ec, bytes_transferred);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -156,7 +156,7 @@ class counted_stream
|
||||
// Count the bytes transferred towards the total
|
||||
stream_.bytes_written_ += bytes_transferred;
|
||||
|
||||
this->invoke_now(ec, bytes_transferred);
|
||||
this->complete_now(ec, bytes_transferred);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user