diff options
-rw-r--r-- | client.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -193,6 +193,9 @@ static bool client_init_cb(struct client *cl, char *buf, int len) if (!newline) return false; + if (newline == buf) + return true; + *newline = 0; blob_buf_init(&cl->hdr, 0); cl->state = client_parse_request(cl, buf); |