8 Commits (e4d77c831146f5931c638727b1d9daf47ef28064)

Author SHA1 Message Date
Georg Hopp e4d77c8311 moved httpMessageQueue to a generalized Queue class as in fact it was nothing else except that it only stored HttpMessages. 14 years ago
Georg Hopp a239fc98e8 changed HttpMessageQueue to be a real queue and not a fixed size array 14 years ago
Georg Hopp 317cc63d20 huge refactoring of build structure as well as other changes...sorry for the huge diff. These are the changes done within the sister project taskrambler, including reactivation of the existing tests as well as code coverage reports 14 years ago
Georg Hopp 5fc9ce547c added a first basic athentication system with ldap binding. Now login depends on the existens of a valid ldap account 14 years ago
Georg Hopp 5b3fed549f refs #19: Added a stream class. This is a delegate that uses the correct read and write methods for the given stream type. This is implemented as prerequesite for the SSL implemented 14 years ago
Georg Hopp e73c8d959d get rid of some unneccessary system calls...one socket and one close 14 years ago
Georg Hopp 4f95d8ce11 change worker to a generic one, some cleanups in server 14 years ago
Georg Hopp 5b2ee457e0 moved httpResponseWriter to httpWriter 14 years ago
Georg Hopp 87b0d50d1d structural changes for worker/process. @TODO actually i have no idea why this happens. 14 years ago
Georg Hopp 7f688412ea some code cleanups...no changes in the logic 14 years ago
Georg Hopp 063189e664 changed /**/ single line comments to // 14 years ago
Georg Hopp b38d402250 start documenting this whole stuff...well at least add a copyright information in each file 14 years ago
Georg Hopp dbb7042360 fixed the non keep-alive performance issue as well as i lower memory usage by using a single read and write circular buffer for every connection. @TODO: i noticed a server hang while getting large data (my image) with non keep-alive connections. Additionally an incomplete keep-alive request might stop the server now as the lock on the read buffer will not be released. 14 years ago
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 6550e381f0 now the separated http worker works. Changed some size_t to ssize_t as i use -1 and -2 es error indicator in my server and fixed caculation of remainig buffer size in reader 14 years ago
Georg Hopp 20af2baa6f separated the server completely from the http processing 14 years ago
Georg Hopp 3497eb8754 dynamically get and free buffer for response write pipe now 14 years ago
Georg Hopp 92379ebb15 use one dynamic buffer less and save at least one write on small responses 14 years ago
Georg Hopp 4eb98a5a16 fixed bug in new response handling 14 years ago
Georg Hopp 1b7ef5030d better response handling but still buggy with stream piping 14 years ago
Georg Hopp 0fba746fe2 first working version of content delivery from file....very crude... @TODO: rewrite complete response handline. 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