maedhroz commented on a change in pull request #1146:
URL: https://github.com/apache/cassandra/pull/1146#discussion_r690713467
##########
File path: src/java/org/apache/cassandra/transport/PreV5Handlers.java
##########
@@ -244,6 +245,14 @@ public void exceptionCaught(final ChannelHandlerContext
ctx, Throwable cause)
if (isFatal(cause))
future.addListener((ChannelFutureListener) f ->
ctx.close());
}
+ if
(DatabaseDescriptor.getExcludeClientErrorsFrom().contains(ctx.channel().remoteAddress()))
+ {
+ // some times it is desirable to ignore exceptions from
specific IPs; such as when security scans are
Review comment:
```suggestion
// Sometimes it is desirable to ignore exceptions from
specific IPs; such as when security scans are
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]