Remove some debug code

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2017-11-28 09:56:59 +08:00
parent a3a2d7bdcb
commit 5c9a6a6c80
2 changed files with 1 additions and 5 deletions

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;
}
}
}

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))