Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
Kea
Commits
c89bd8e3
Commit
c89bd8e3
authored
Apr 12, 2012
by
Mukund Sivaraman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[1818] Report the error code when CC_ASYNC_READ_FAILED is logged
parent
22041b8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/lib/cc/cc_messages.mes
src/lib/cc/cc_messages.mes
+1
-1
src/lib/cc/session.cc
src/lib/cc/session.cc
+1
-1
No files found.
src/lib/cc/cc_messages.mes
View file @
c89bd8e3
...
...
@@ -14,7 +14,7 @@
$NAMESPACE isc::cc
% CC_ASYNC_READ_FAILED asynchronous read failed
% CC_ASYNC_READ_FAILED asynchronous read failed
(error code = %1)
This marks a low level error, we tried to read data from the message queue
daemon asynchronously, but the ASIO library returned an error.
...
...
src/lib/cc/session.cc
View file @
c89bd8e3
...
...
@@ -249,7 +249,7 @@ SessionImpl::internalRead(const asio::error_code& error,
}
user_handler_
();
}
else
{
LOG_ERROR
(
logger
,
CC_ASYNC_READ_FAILED
);
LOG_ERROR
(
logger
,
CC_ASYNC_READ_FAILED
)
.
arg
(
error
.
value
())
;
isc_throw
(
SessionError
,
"asynchronous read failed"
);
}
}
...
...
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