-
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.
-
…should also look for content-encoding)
-
…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.
-
…n as it only handles TCP sockets