Remove unused member in SCTPTransport

RTOMax wasn't actually being stored, is being pulled directly from
SettingEngine
This commit is contained in:
Sean DuBois
2024-03-18 13:14:44 -04:00
parent 313ca8c314
commit 5d7c2bf74f
2 changed files with 2 additions and 5 deletions

View File

@@ -434,7 +434,7 @@ func (e *SettingEngine) SetSCTPMaxReceiveBufferSize(maxReceiveBufferSize uint32)
e.sctp.maxReceiveBufferSize = maxReceiveBufferSize
}
// SetSCTPZeroChecksum enables the zero checksum feature in SCTP.
// EnableSCTPZeroChecksum controls the zero checksum feature in SCTP.
// This removes the need to checksum every incoming/outgoing packet and will reduce
// latency and CPU usage. This feature is not backwards compatible so is disabled by default
func (e *SettingEngine) EnableSCTPZeroChecksum(isEnabled bool) {