Skip to content

Commit

Permalink
identify
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlehane committed Aug 8, 2016
1 parent ecffdb5 commit 3775514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/core/bytematcher/identify.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (b *Matcher) identify(buf *siegreader.Buffer, quit chan struct{}, r chan co
for br := range bchan {
if br.Index[0] == -1 {
incoming <- progressStrike(br.Offset, false)
if br.Offset > 131072 && (maxBOF < 0 || maxBOF > maxEOF*5) { // del buf.Stream
if br.Offset > 131072 && (maxBOF < 0 || maxBOF > maxEOF*5) { // del buf.Stream 2^16 65536 2^17 131072
break
}
} else {
Expand Down

0 comments on commit 3775514

Please sign in to comment.