21 Commits (328ab651854da2e96659506320294a19b45d4fda)

Author SHA1 Message Date
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 f1215c6758 closes #19: first integration of OpenSSL...this makes leak testing with valgrind a pain so i will think about some conditional to activate and deactivate it. Additionally it seems that some memory will be left over somewhere, maybe i missed somed cleanup function i have to call and finally the integration really needs error handling. 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 dfcbc4946c fix memory problems occured with latest changes 14 years ago
Georg Hopp 424297cd57 now when a constructor returns -1 the new call will in turn call the destructor effectively freeing all resources. ATTENTION: now the destructor has to be aware that it might be called with a not completely initialized object. To make this more ease there is the FREE makro with the corresponding ffree that does NULL pointer checking and the destructor checks for NULL pointer too. Additionally the handle_accept now handles _SC_OPEN_MAX - 10 connections. The 10 are reserved for internal usage. 14 years ago
Georg Hopp 7f688412ea some code cleanups...no changes in the logic 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 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 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 f82c178b5b started a response handler and changed serverRun to use it for its response 14 years ago
Georg Hopp 9198f7e7aa fixed bug at server destructor 14 years ago
Georg Hopp 3d735c7fc7 made a first cruel handling for keep-alive and non keep-alive requests. @TODO: this MUST BE cleaned 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
Georg Hopp c33578329c changed from select(UNIX) to poll(POSIX) 14 years ago
Georg Hopp fb0dd8ad89 work on server_run 14 years ago
Georg Hopp d2848c0b14 add info text about file handle passing and ported more stuff from my old server structure 14 years ago