Remove some debug code

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
Jianhui Zhao committed 2017-11-28 09:56:59 +08:00
1 parent a3a2d7bdcb
commit 5c9a6a6c80
2 files changed
+1 -5

No files matched your search

+1 -3
View File
@@ -31,8 +31,6 @@ int uh_buf_grow(struct uh_buf *buf, size_t size)
buf->base = base;
buf->size += size;
uh_log_debug("uh_buf_grow:%p +%d", buf, size);
return 0;
}
@@ -65,4 +63,4 @@ void uh_buf_remove(struct uh_buf *buf, size_t n)
memmove(buf->base, buf->base + n, buf->len - n);
buf->len -= n;
}
}
}
-2
View File
@@ -244,8 +244,6 @@ handshake_done:
buf->len += len;
uh_log_debug("read:[%.*s]", len, base);
parsered = http_parser_execute(&con->parser, &parser_settings, base, len);
if (unlikely(con->flags & UH_CON_CLOSE))