mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
+3
-2
@@ -357,8 +357,9 @@ func http1EndHint(m *tcp.Message) bool {
|
||||
if m.MissingChunk() {
|
||||
return false
|
||||
}
|
||||
|
||||
return proto.HasFullPayload(m, m.PacketData()...)
|
||||
|
||||
req, res := http1StartHint(m.Packets()[0])
|
||||
return proto.HasFullPayload(m, m.PacketData()...) && (req || res)
|
||||
}
|
||||
|
||||
func (l *Listener) read() {
|
||||
|
||||
Reference in New Issue
Block a user