38 Commits (b66fa2cb68a7c0ca6fae280bd71662d5ddce8c24)

Author SHA1 Message Date
Stefan Bühler b66fa2cb68 [plugins] when modules are linked statically still only load the modules given in the config 7 years ago
Stefan Bühler c5737093db [mod_magnet] fix segfault when accessing not existing lighty.req_env[] entry (found by coverity) 7 years ago
Stefan Bühler 33cebeb0f7 fix segfaults in many plugins if they failed configuration 7 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member 7 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API 7 years ago
Stefan Bühler 8f0e19738f fix r2943 (added invalid read after free) 8 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546) 8 years ago
Stefan Bühler b239e7734a [mod_magnet] fix memory leak 8 years ago
Stefan Bühler 17762fad01 maintain physical.basedir (the "acting" doc-root as prefix of physical.path) in more places 9 years ago
Stefan Bühler 6f208cfde1 fix/silence bugs reported by ccc-analyzer (clang) 9 years ago
Stefan Bühler f5f6b954b0 mod_magnet: add traceback for printing lua errors 13 years ago
Stefan Bühler 07ae3fb815 mod_magnet: fix pairs() for normal tables and strings (fixes #1307) 13 years ago
Stefan Bühler 915a9e3e88 Add some iterators for mod_magnet (fixes #1307) 13 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header 13 years ago
Stefan Bühler 4df22f2a32 Fix issues found with clang analyzer 13 years ago
Stefan Bühler 4f4d40f3f7 Add "lighty.req_env" table to mod_magnet for setting/getting environment values for cgi (fixes #1967, thx presbrey) 13 years ago
Stefan Bühler c21623456c mod_magnet: Add env["request.path-info"] 13 years ago
Stefan Bühler 1ff333cb4a mod_magnet: Add env["request.remote-ip"] (fixes #1740) 13 years ago
Stefan Bühler 63f785a2f8 Added some extra warning options in cmake and fix the resulting warnings (unused/static functions) 14 years ago
Stefan Bühler ad12e4c5b2 Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't (#631) 14 years ago
Stefan Bühler f08cd32877 Close connection in mod_magnet if returned status code 14 years ago
Stefan Bühler 73189c64e7 Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn't append an error page 14 years ago
Stefan Bühler 80be71bd43 Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env (#1308) 14 years ago
Jan Kneschke e49da67a47 only set the etag if we have one 16 years ago
Jan Kneschke 41bcf415c4 added content-type to the .stat() and decoded the st_mode 16 years ago
Jan Kneschke bf0f7832c1 added lighty.stat() which uses the stat-cache to reduce the number of syscalls 16 years ago
Jan Kneschke 0780de8bfa added the original URI, before the rewrite, to the env. 16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;) 16 years ago
Marcus Rückert 3e7e2d528d - marked parameter as unused 16 years ago
Jan Kneschke 634ec365f5 make the config-options arrays instead of strings 16 years ago
Jan Kneschke a34a3ae173 reverted [1312] as it led to seg-faults 16 years ago
Jan Kneschke 2a3ac19883 rici pointed me the lua_cpcall() to call a lua-c-function in protected mode 16 years ago
Jan Kneschke e931d4f27f fixed compile if lua is not enabled 16 years ago
Jan Kneschke 63ec609a56 - added set() for .env[] 16 years ago
Jan Kneschke c7b9858b03 added support for lighty.status[] in mod_magnet 16 years ago
Jan Kneschke b79f1a24c9 - moved all global vars to the lighty.* namespace 16 years ago
Jan Kneschke 925cb27a14 - add a try-catch around add-content 16 years ago
Jan Kneschke daeab348cd added mod_magnet 16 years ago