We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd44ef1 commit 76dedc0Copy full SHA for 76dedc0
src/main/scala/io/iohk/ethereum/network/rlpx/RLPxConnectionHandler.scala
@@ -163,6 +163,8 @@ class RLPxConnectionHandler(
163
164
case Failure(ex) =>
165
log.debug(s"Cannot decode message from $peerId, because of ${ex.getMessage}")
166
+ // break connection in case of failed decoding, to avoid attack which would send us garbage
167
+ context stop self
168
}
169
170
/**
0 commit comments