Fix rewind #run_acceptance_tests

This commit is contained in:
M. Mert Yildiran
2022-05-12 18:08:28 +03:00
parent 9990524329
commit c616247d90

View File

@@ -83,6 +83,7 @@ func (reader *tcpReader) isProtocolIdentified() bool {
}
func (reader *tcpReader) rewind() {
reader.data = make([]byte, len(reader.pastData))
copy(reader.data, reader.pastData)
}