[core] quickly clear request buffer for reuse

personal/stbuehler/fix-fdevent
Glenn Strauss 4 years ago
parent 79aa8613e1
commit 9e55fd72b5
  1. 2
      src/connections.c

@ -748,7 +748,7 @@ found_header_end:
/* found */
if (last_chunk) {
buffer_reset(con->request.request);
buffer_clear(con->request.request);
for (c = cq->first; c; c = c->next) {
size_t len = buffer_string_length(c->mem) - c->offset;

Loading…
Cancel
Save