Skip to content

Commit 3365253

Browse files
committed
Log text, comments.
1 parent cb23c68 commit 3365253

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sessions/session_server.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ code session_server::do_accept(const config::authorities& binds,
138138
// Accept cycle.
139139
// ----------------------------------------------------------------------------
140140

141-
// Attempt to accept peers on each configured endpoint.
141+
// Attempt to accept clients on each configured endpoint.
142142
void session_server::start_accept(const code&,
143143
const acceptor::ptr& acceptor, bool secure) NOEXCEPT
144144
{
@@ -205,15 +205,15 @@ void session_server::handle_accepted(const code& ec, const socket::ptr& socket,
205205

206206
if (!whitelisted(socket->address()))
207207
{
208-
LOGV("Dropping not whitelisted peer [" << socket->endpoint() << "].");
208+
LOGV("Dropping not whitelisted client [" << socket->endpoint() << "].");
209209
socket->stop();
210210
start_accept(error::success, acceptor, secure);
211211
return;
212212
}
213213

214214
if (blacklisted(socket->address()))
215215
{
216-
LOGV("Dropping blacklisted peer [" << socket->endpoint() << "].");
216+
LOGV("Dropping blacklisted client [" << socket->endpoint() << "].");
217217
socket->stop();
218218
start_accept(error::success, acceptor, secure);
219219
return;

0 commit comments

Comments
 (0)