Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
9c80bc47
Commit
9c80bc47
authored
Jul 10, 2020
by
legoc
Browse files
(split2) reset socket in timeout
parent
42901528
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cameo/impl/RequestSocketImpl.cpp
View file @
9c80bc47
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment