mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
More robust chunked encoding finished check. (#628)
This commit is contained in:
@@ -199,7 +199,7 @@ func (t *TCPMessage) checkSeqIntegrity() {
|
||||
|
||||
var bEmptyLine = []byte("\r\n\r\n")
|
||||
var bBR = []byte("\r\n")
|
||||
var bChunkEnd = []byte("0\r\n\r\n")
|
||||
var bChunkEnd = []byte("\r\n0\r\n\r\n")
|
||||
|
||||
func (t *TCPMessage) updateHeadersPacket() {
|
||||
if len(t.packets) == 1 {
|
||||
|
||||
Reference in New Issue
Block a user