-
… ringbuffer is implemented using the shared memory trick.
-
…and -2 es error indicator in my server and fixed caculation of remainig buffer size in reader
-
…ite complete response handline.
-
…ould be possible to implement a stream writer for images
-
… other systems. Removed the qsort calls on server->fds making O(2nlogn) to O(n)
-
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