Commit 0e815a1a authored by Jakob Otto's avatar Jakob Otto

Fix test

parent 516659f9
...@@ -92,11 +92,15 @@ public: ...@@ -92,11 +92,15 @@ public:
prepare_next_read(); prepare_next_read();
} else { } else {
auto err = get<sec>(ret); auto err = get<sec>(ret);
CAF_LOG_DEBUG("send failed" << CAF_ARG(err)); if (err == sec::unavailable_or_would_block) {
break;
} else {
CAF_LOG_DEBUG("read failed" << CAF_ARG(err));
this->next_layer_.handle_error(err); this->next_layer_.handle_error(err);
return false; return false;
} }
} }
}
return true; return true;
} }
......
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