mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 08:34:47 +08:00
add tests for server
This commit is contained in:
@@ -135,10 +135,6 @@ private:
|
||||
|
||||
auto it = endpoints.begin();
|
||||
|
||||
if (it == endpoints.end()) {
|
||||
return std::make_error_code(std::errc::bad_address);
|
||||
}
|
||||
|
||||
auto endpoint = it->endpoint();
|
||||
acceptor_.open(endpoint.protocol(), ec);
|
||||
if (ec) {
|
||||
|
||||
Reference in New Issue
Block a user