Commit 125f91e8 authored by legoc's avatar legoc
Browse files

(split) reset socket in timeout

parent 279ce406
......@@ -99,7 +99,7 @@ std::unique_ptr<zmq::message_t> RequestSocketImpl::request(const std::string& re
int rc = zmq::poll(items, 1, timeout);
if (rc == 0) {
// Reset the socket.
//reset();
reset();
// Timeout occurred.
throw ConnectionTimeout();
......
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