Lines Matching refs:Bugs
43 if c.config.Bugs.MaxPacketLength != 0 && n > c.config.Bugs.MaxPacketLength {
71 if expect := c.config.Bugs.ExpectInitialRecordVersion; expect != 0 && vers != expect {
134 reorder := typ == recordTypeChangeCipherSpec && c.config.Bugs.ReorderChangeCipherSpec
144 if typ == recordTypeApplicationData && len(data) > 1 && c.config.Bugs.SplitAndPackAppData {
184 if c.out.cipher == nil && c.config.Bugs.StrayChangeCipherSpec {
191 maxLen := c.config.Bugs.MaxHandshakeRecordLength
210 if c.config.Bugs.SendEmptyFragments {
225 if c.config.Bugs.FragmentMessageTypeMismatch && fragOffset > 0 {
228 if c.config.Bugs.FragmentMessageLengthMismatch && fragOffset > 0 {
235 if c.config.Bugs.ReorderHandshakeFragments {
250 shouldSendTwice := c.config.Bugs.MixCompleteMessageWithFragments
252 shouldSendTwice = c.config.Bugs.RetransmitFinished
273 if c.config.Bugs.ReorderHandshakeFragments {
280 } else if c.config.Bugs.ReverseHandshakeFragments {
288 maxRecordLen := c.config.Bugs.PackHandshakeFragments
293 if n := c.config.Bugs.SplitFragments; n > 0 {
335 maxLen := c.config.Bugs.MaxHandshakeRecordLength
394 if !mustPack && len(b.data)+len(c.pendingPacket) > c.config.Bugs.PackHandshakeRecords {