mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Remove more debug
This commit is contained in:
@@ -165,8 +165,6 @@ func (c *HTTPClient) Send(data []byte) (response []byte, err error) {
|
||||
|
||||
payload := c.respBuf[:n]
|
||||
|
||||
Debug("[HTTPClient] Received:", n)
|
||||
|
||||
if c.config.Debug {
|
||||
Debug("[HTTPClient] Received:", string(payload))
|
||||
}
|
||||
|
||||
@@ -122,10 +122,8 @@ func (t *TCPMessage) AddPacket(packet *TCPPacket) {
|
||||
}
|
||||
|
||||
if !t.isMultipart() {
|
||||
log.Println("MESSAGE NOT MULTIPART", string(packet.Data))
|
||||
t.Timeout()
|
||||
} else {
|
||||
log.Println("MESSAGE MULTIPART", string(packet.Data))
|
||||
// If more then 1 packet, wait for more, and set expiration
|
||||
if len(t.packets) == 1 {
|
||||
// Every time we receive packet we reset this timer
|
||||
|
||||
Reference in New Issue
Block a user