15 Commits (f2dbad19c684012a6ac235a253349ffe049668db)

Author SHA1 Message Date
Georg Hopp f2dbad19c6 another try with a shared memory based ringbuffer...this performs well for keep-alive sessions but is much slower without. actually i am not sure why but most likely the shared memory setup is quite expensive. @TODO: make a profiling. 14 years ago
Georg Hopp e8a21ace31 lots of changes but primarily change the request parser to use a ringbuffer. The ringbuffer is implemented using the shared memory trick. 14 years ago
Georg Hopp 20af2baa6f separated the server completely from the http processing 14 years ago
Georg Hopp d87cd09ba1 more generalizing of response writing (implemented a response writer...now it should be possible to implement a stream writer for images 14 years ago
Georg Hopp bf6a341b4c changed header hashing to use btree (GNU only). @TODO: make this conditional for other systems. Removed the qsort calls on server->fds making O(2nlogn) to O(n) 14 years ago
Georg Hopp 3d0057d4c3 daemonize testserver now 14 years ago
Georg Hopp 983c933908 fix seaks and hangs after adding response object (mostly not related with the response object but how i integated it into serverRun 14 years ago
Georg Hopp a4d09213ba moved request_parser.h and request_queue.h in separeate request subfolder 14 years ago
Georg Hopp 3dac803c41 fix memory leak created while changing things 14 years ago
Georg Hopp f678adcae4 access to headers via hash, read body (actually only with content-length header should also look for content-encoding) 14 years ago
Georg Hopp 228b1d0d29 changed request handling. @TODO: I still seem to have the problem that the file handles are not closed and freed correctly as the service refuses connections after about a 1000. 14 years ago
Georg Hopp 90476e07d8 add StreamReader interface, modify HttpRequestParser and Server to use it 14 years ago
Georg Hopp 2d6305c3d6 changed class tool. Now multiple interface per class are supported as well as simple inheritence. 14 years ago
Georg Hopp 1884143dbf changes related to server code 14 years ago
Georg Hopp f366c0b865 add testserver and did some fixes not shown by my incomplete tests 14 years ago