kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 82d7b584058d78ead941b361bb3a2d46402d32e2
parent 1a64d202dea6caa6795e26bde022de6c2c89b78e
Author: Joris Vink <joris@coders.se>
Date:   Wed, 19 Feb 2020 10:38:41 +0100

Add trailing byte in http_token and http_field_content.

Diffstat:
src/http.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/http.c b/src/http.c @@ -91,7 +91,7 @@ static const char http_token[] = { '`' , 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , - 'x' , 'y' , 'z' , 0x00, '|' , 0x00, '~' , + 'x' , 'y' , 'z' , 0x00, '|' , 0x00, '~' , 0x00 }; /* @@ -115,7 +115,7 @@ static const char http_field_content[] = { '`' , 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , - 'x' , 'y' , 'z' , '{' , '|' , '}' , '~' , + 'x' , 'y' , 'z' , '{' , '|' , '}' , '~' , 0x00 }; static int http_body_recv(struct netbuf *);