27 Commits (b122f341a94bd9eb3dd6227dff27c1aa56848eed)

Author SHA1 Message Date
Georg Hopp b122f341a9 fix infinite busy loop in run 14 years ago
Georg Hopp 3497eb8754 dynamically get and free buffer for response write pipe now 14 years ago
Georg Hopp e35308f880 increase write buffer 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 fa58a6cc81 make http request and response childs of a common parent http message 14 years ago
Georg Hopp ab21de50dd remove now obsoleted header_sort 14 years ago
Georg Hopp e67667881f change response to tree based header storage and make everything work. 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 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 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 cb50f09adc reset keep_live flag on connection close 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 a4d09213ba moved request_parser.h and request_queue.h in separeate request subfolder 14 years ago
Georg Hopp 6aef05cf7f fix rather nasty reentrance bug 14 years ago
Georg Hopp 4a075de846 fix bug that arose in rewrite of header get and results in an ugly memory leak, as well as no headers would be found any more 14 years ago
Georg Hopp 459ecc5d14 updated docs 14 years ago
Georg Hopp cb75a749e9 start split of request parser 14 years ago
Georg Hopp 8e4e3dae1e no more request body debig output 14 years ago
Georg Hopp 1c5d6099f5 add missing header_get to repo and build header hash only from lowercase letters now as it seems header identifier should be case insensitive 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 de7e390c78 found the file handle lost...made a first workaround and added an todo. 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 90df11c014 now each HttpRequestParser initializes its own request queue and enqueus completed requests there. The server now gets the queue and prints completed requests. 14 years ago
Georg Hopp 90476e07d8 add StreamReader interface, modify HttpRequestParser and Server to use it 14 years ago
Georg Hopp f366c0b865 add testserver and did some fixes not shown by my incomplete tests 14 years ago
Georg Hopp 06db4f6588 initial checkin 14 years ago