12 Commits (5b3fed549faa460d333f375948db7b5635a74c58)

Author SHA1 Message Date
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 87b0d50d1d structural changes for worker/process. @TODO actually i have no idea why this happens. 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 b38d402250 start documenting this whole stuff...well at least add a copyright information in each file 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 de00ad47ad add subject/observer interface 14 years ago
Georg Hopp 4eb98a5a16 fixed bug in new response handling 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 90476e07d8 add StreamReader interface, modify HttpRequestParser and Server to use it 14 years ago
Georg Hopp bb650bda47 implement clone selector 14 years ago
Georg Hopp 18204a6030 remove inline stuff for now ... add carefully again later perhaps 14 years ago
Georg Hopp 2d6305c3d6 changed class tool. Now multiple interface per class are supported as well as simple inheritence. 14 years ago