cerver icon indicating copy to clipboard operation
cerver copied to clipboard

In HTTP 1.1, all connections are considered persistent unless declared otherwise

Open jorisvink opened this issue 6 years ago • 1 comments

https://github.com/roecrew/cerver/blob/2bee9b0ca1fbe67bd82500c07e61d8db8a7cdaf4/main.c#L214

Your code assumes a client did not request a connection to be closed, as it always sends keep-alive headers.

jorisvink avatar May 10 '18 16:05 jorisvink

Now it's the opposite. All are considered closed and keep-alive is ignored.

maelswarm avatar May 14 '18 23:05 maelswarm