mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-19 03:27:50 +01:00
Turns out internet MTU must be honored, otherwise packets are dropped/not reassembled. Setting to 1500 bytes for transfer messages.
This commit is contained in:
@@ -47,7 +47,7 @@ func newVirtualPacketConn(peer *PeerInfo, protocol uint8, hash []byte, offset, l
|
||||
hash: hash,
|
||||
offset: offset,
|
||||
limit: limit,
|
||||
incomingData: make(chan []byte),
|
||||
incomingData: make(chan []byte, 100),
|
||||
outgoingData: make(chan []byte),
|
||||
terminateChan: make(chan struct{}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user