aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-05-04 07:56:03 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-05-04 08:01:58 +0200
commit00e76db8c2253d431ced1c2b31a793f7332ffd40 (patch)
treee835d7c716a3fb9de7165b156696280b1df63bb8 /src/rpcserver.cpp
parentaa9fa938d9ba739575533246087e0a4177d22d10 (diff)
parentb05a89b2def301704df8f22f05a45ccf891c2b83 (diff)
downloadbitcoin-00e76db8c2253d431ced1c2b31a793f7332ffd40.tar.xz
Merge pull request #6085
b05a89b Non-grammatical language improvements (Luke Dashjr) 7e6d23b Bugfix: Grammar fixes (Corinne Dashjr)
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 61dda9125b..12a5c4aef9 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -912,8 +912,8 @@ static bool HTTPReq_JSONRPC(AcceptedConnection *conn,
{
LogPrintf("ThreadRPCServer incorrect password attempt from %s\n", conn->peer_address_to_string());
/* Deter brute-forcing
- If this results in a DoS the user really
- shouldn't have their RPC port exposed. */
+ We don't support exposing the RPC port, so this shouldn't result
+ in a DoS. */
MilliSleep(250);
conn->stream() << HTTPError(HTTP_UNAUTHORIZED, false) << std::flush;