11 Commits (64ba5fddce602b0ffe54149599c6bfd918b50621)

Author SHA1 Message Date
Stefan Bühler 49a99eb0e8 Fix handling of responses without body; check that really no content is sent. 13 years ago
Stefan Bühler f96e35e03a Fix response.c to not send chunked encoding/.. for head requests with no content 13 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 13 years ago
Stefan Bühler 90447c6cec Some fixes for HEAD and 206 Partial Content handling 13 years ago
Stefan Bühler 6702e1413b Fix too fast closing of con->out (skipped mod-deflate), rely on closed vr->out instead 13 years ago
Thomas Porzelt e762ac1208 [core] Remove redundant css from error pages 13 years ago
Stefan Bühler c77ba3eb20 Cleanup connection code 13 years ago
Thomas Porzelt 6016ec94fe [core] Make error pages prettier and add a little error description 13 years ago
Stefan Bühler b32c74a180 vr->handle_response_body was replaced with vr->backend (and is used for something else now) 13 years ago
Thomas Porzelt e838c9b3cf [core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp() 13 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 13 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 13 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 13 years ago
Stefan Bühler 6a56aba0c3 Use 2^n-1 in GSring pre-allocations (so glib doesn't alloc 2^(n+1) for 2^n) 13 years ago
Thomas Porzelt 542031e8a3 fix memory leak in response_send_headers() 13 years ago
Stefan Bühler 99f14078ec Add reminder for chunked handling/content-length header. 14 years ago
Thomas Porzelt 93bd5e2a6a add additional paramter format_ndx to worker_current_timestamp() 14 years ago
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 14 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 14 years ago
Stefan Bühler 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. 14 years ago
Stefan Bühler b83e3a29ce Fix vrequest merge 14 years ago
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 14 years ago
Thomas Porzelt d7b17a7746 add 'docroot' option, remove 'physical' action 14 years ago
Thomas Porzelt 34281b50f1 send proper error pages 14 years ago
Stefan Bühler 7cd0b2aaf6 Revert: Add refcount to http headers 14 years ago
Stefan Bühler de6996268f Add refcount to http headers 14 years ago
Stefan Bühler 091f122aad Renamed option -> value, some other minor/related renames; added option_value as 14 years ago
Thomas Porzelt 6fe8eb603d fixed missing \r\n after response headers 14 years ago
Stefan Bühler 47c0acf4c2 Changed header implementation from hash-table to double linked list 14 years ago
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 14 years ago
Thomas Porzelt 6804b1df00 implemented default values for options 14 years ago
Stefan Bühler 1bc8c85266 * replace strerror with g_strerror, kill errno from logging 14 years ago
Thomas Porzelt df16145d05 added http_status_string() function; response.c now includes the right status string 14 years ago
Stefan Bühler e216fc5168 handle requests now :) - still many TODOs for error handling/keep alive/validating headers 14 years ago
Stefan Bühler 2fbc7b1408 Basic connection state machine 14 years ago