Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
2d704442
Commit
2d704442
authored
Jun 08, 2017
by
Tomek Mrugalski
🛰
Browse files
[5189] Couple minor comment improvements.
parent
085a5708
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lib/asiolink/tests/unix_domain_socket_unittest.cc
View file @
2d704442
...
...
@@ -170,7 +170,8 @@ TEST_F(UnixDomainSocketTest, asyncSendReceive) {
// some data have been sent.
ASSERT_GT
(
sent_size
,
0
);
// Receive response from the socket.
// Receive response from the socket. Very small receive buffer ensures that
// we will read the response in chunks.
std
::
array
<
char
,
2
>
read_buf
;
size_t
bytes_read
=
0
;
std
::
string
response
;
...
...
src/lib/asiolink/testutils/test_server_unix_socket.h
View file @
2d704442
...
...
@@ -72,6 +72,8 @@ public:
/// @brief Generates response of a given length.
///
/// Note: The response may be a few bytes larger than requested.
///
/// @param response_size Desired response size.
void
generateCustomResponse
(
const
uint64_t
response_size
);
...
...
src/lib/asiolink/unix_domain_socket.cc
View file @
2d704442
...
...
@@ -50,7 +50,7 @@ public:
/// necessarily indicate a problem and the subsequent attempts to read
/// and write to the socket will succeed. Therefore, the handler simply
/// overrides this error code with success status. The user supplied
/// handler don't need to deal with the EINPROGRESS error codes.
/// handler do
es
n't need to deal with the EINPROGRESS error codes.
///
/// @param remote_handler User supplied callback.
/// @param ec Error code returned as a result of connection.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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