mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-15 15:39:07 +02:00
This commit implements message chunking within the implementation of net.Conn which implements our initial handshake, then uses the crypto to read/write messages. With this change it’s now possible to send message larger than 65535 bytes over a p2p crypto connection by properly chunking the messages on the side of the connection that’s writing.