parent
a3a2d7bdcb
commit
5c9a6a6c80
|
@ -31,8 +31,6 @@ int uh_buf_grow(struct uh_buf *buf, size_t size)
|
||||||
buf->base = base;
|
buf->base = base;
|
||||||
buf->size += size;
|
buf->size += size;
|
||||||
|
|
||||||
uh_log_debug("uh_buf_grow:%p +%d", buf, size);
|
|
||||||
|
|
||||||
return 0;
|
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);
|
memmove(buf->base, buf->base + n, buf->len - n);
|
||||||
buf->len -= n;
|
buf->len -= n;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -244,8 +244,6 @@ handshake_done:
|
||||||
|
|
||||||
buf->len += len;
|
buf->len += len;
|
||||||
|
|
||||||
uh_log_debug("read:[%.*s]", len, base);
|
|
||||||
|
|
||||||
parsered = http_parser_execute(&con->parser, &parser_settings, base, len);
|
parsered = http_parser_execute(&con->parser, &parser_settings, base, len);
|
||||||
|
|
||||||
if (unlikely(con->flags & UH_CON_CLOSE))
|
if (unlikely(con->flags & UH_CON_CLOSE))
|
||||||
|
|
Loading…
Reference in New Issue