Commit 230fa863 authored by Dominik Charousset's avatar Dominik Charousset

Adjust to upstream changes

parent 352666c9
...@@ -79,7 +79,7 @@ public: ...@@ -79,7 +79,7 @@ public:
template <class LowerLayerPtr> template <class LowerLayerPtr>
void abort(LowerLayerPtr, const error& reason) { void abort(LowerLayerPtr, const error& reason) {
reader_output_->flush(); reader_output_->flush();
if (reason == sec::socket_disconnected || reason == sec::discarded) if (reason == sec::socket_disconnected || reason == sec::disposed)
reader_output_->on_complete(); reader_output_->on_complete();
else else
reader_output_->on_error(reason); reader_output_->on_error(reason);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment