Remove more debug

This commit is contained in:
Leonid Bugaev
2015-08-15 08:06:13 +03:00
parent 56f0a3fcc0
commit 4f2341b2d3
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -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))
}
-2
View File
@@ -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