summaryrefslogtreecommitdiff
path: root/relay.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-01 23:50:58 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-01 23:50:58 +0100
commite32b386174cc387d932800145383435083cf948a (patch)
tree668de3f50d350c7e274243bc574ac9978286a58b /relay.c
parent038cf91ddc07cdd76e7444efc096094eef66f749 (diff)
consume the newline (overwritten with 0-byte) after receiving cgi process headers
Diffstat (limited to 'relay.c')
-rw-r--r--relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/relay.c b/relay.c
index 59cdaa5..f484aa4 100644
--- a/relay.c
+++ b/relay.c
@@ -89,6 +89,7 @@ static void relay_process_headers(struct relay *r)
r->header_cb = NULL;
if (r->header_end)
r->header_end(r);
+ ustream_consume(s, line_len);
break;
}