mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
+2
-1
@@ -358,7 +358,8 @@ func http1EndHint(m *tcp.Message) bool {
|
||||
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