-
as i first wrote the parser i used static valiables to hold the state of the currently parsed request. If a request would spread of multiple reads this would lead to one reqeust messing up the state of another. not those states are part of the parser object itself where they belong.
-
…as well as no headers would be found any more
-
… now as it seems header identifier should be case insensitive
-
…should also look for content-encoding)
-
…eems to be something wrong.
-
…handles are not closed and freed correctly as the service refuses connections after about a 1000.
-
… (tested with telnet)
-
…ed requests there. The server now gets the queue and prints completed requests.