19 Commits (3497eb8754e0eb7460fde4515b4f710a476b52a1)

Author SHA1 Message Date
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 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
Georg Hopp fa58a6cc81 make http request and response childs of a common parent http message 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 f82c178b5b started a response handler and changed serverRun to use it for its response 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 cb75a749e9 start split of request parser 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 68e9682380 now stuff seems to work correct even if read does not provide a complete request (tested with telnet) 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 f1bf7c49f7 basic request parsing (line by line) implemented 14 years ago
Georg Hopp 90476e07d8 add StreamReader interface, modify HttpRequestParser and Server to use it 14 years ago
Georg Hopp 2dcc288a40 some latest work 14 years ago