Skip to content
Permalink
Browse files

review comments addresed

  • Loading branch information...
shaileshp0110 committed Jun 12, 2019
1 parent 5ab5933 commit df1269058541d100c82d02ae8b1dd3c2334bbed5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/io/iohk/scalanet/peergroup/TLSPeerGroup.scala
@@ -29,11 +29,11 @@ import scala.util.Success
import scala.collection.JavaConverters._

/**
* PeerGroup implementation on top of TCP.
* PeerGroup implementation on top of TLS.
* FIXME currently this class makes use of netty's LengthFieldPrepender to perform packet reassembly. This means
* the encoded bytes provided by the callers codec are not identical to the bytes put on the wire (since a
* length field is prepended to the byte stream). This class therefore cannot be used to talk to general services
* that are not instances of TCPPeerGroup.
* that are not instances of TLSPeerGroup.
*
* @param config bind address etc. See the companion object.
* @param codec a decco codec for reading writing messages to NIO ByteBuffer.

0 comments on commit df12690

Please sign in to comment.
You can’t perform that action at this time.