Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Administrator
data_exporter
Commits
5059790e
Commit
5059790e
authored
May 29, 2019
by
Robert Butora
Browse files
Catch exception on remote_endpoint and so dispatch handleAccept again.
parent
234f8548
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Server.cpp
View file @
5059790e
...
...
@@ -188,7 +188,18 @@ void Server::handleAccept(Session::SP session_sp,
if
(
!
ec
)
{
session_sp
->
start
();
try
{
session_sp
->
start
();
}
catch
(
std
::
exception
&
ex
)
{
ERROR_STREAM
<<
"Server::handleAccept() "
<<
ex
.
what
()
<<
endl
;
}
catch
(...)
{
ERROR_STREAM
<<
"Server::handleAccept() unknown error... "
<<
endl
;
}
}
else
{
...
...
Write
Preview
Supports
Markdown
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