2
0
Fork 0
Commit Graph

900 Commits

Author SHA1 Message Date
Thomas Porzelt d8c187453a [mod_debug] Don't compile debug.profiler_dump action at all when profiler support missing 2010-05-15 12:46:41 +02:00
Thomas Porzelt c8a23a947f [core] Check if profiler output file has been truncated since opening 2010-05-15 12:45:22 +02:00
Stefan Bühler e00febcd40 Fix vrequest-ref api 2010-05-14 13:12:33 +02:00
Stefan Bühler c2271c15c3 Add plugin init-lua hook 2010-05-14 13:10:19 +02:00
Stefan Bühler 4afebee1c7 Make profiler optional 2010-05-13 12:19:12 +02:00
Stefan Bühler 8fa282ffaf Fix some queue handling bugs in angel connection 2010-05-13 12:17:32 +02:00
Stefan Bühler 26ebaa3bd3 Add a new liBuffer alloc function for long-term buffers 2010-05-13 12:17:32 +02:00
Thomas Porzelt 727a480a14 [core] Remove profile_mem action from core plugin, was moved to mod_debug 2010-05-13 12:11:24 +02:00
Thomas Porzelt aaaf75a9da [mod_debug] Add debug.profiler_dump action 2010-05-12 21:56:32 +02:00
Thomas Porzelt 0084f21174 [core] Update queue->delay in li_waitqueue_set_delay(), not only ev timer 2010-05-10 22:08:53 +02:00
Thomas Porzelt bf632326a7 [core] Update and start (if necessary) io timeout in li_worker_run() fixing first worker ignoring io.timeout from config 2010-05-10 21:47:57 +02:00
Thomas Porzelt b3f8b8d62f [core] Add li_waitqueue_set_delay() function 2010-05-10 21:42:06 +02:00
Thomas Porzelt de3515cd27 [waf] Add check for and link against libexecinfo on FreeBSD 2010-05-09 15:08:31 +02:00
Thomas Porzelt f285ad372e [core,waf,autoconf,cmake] Add check for execinfo.h and disable stacktraces in profiler if not available 2010-05-09 14:18:52 +02:00
Thomas Porzelt fa1c73cbe6 [core] Make profiler output to file, fix small issue with profiler_try_realloc() 2010-05-09 12:12:53 +02:00
Thomas Porzelt 1dfa1c37f2 [core] Reworked memory profiler. Commited only very simple version tracking allocated objects and printing backtraces for leaked ones upon exit 2010-05-08 19:30:38 +02:00
Thomas Porzelt c0e7ef3654 [core] Fix memleak in filter_buffer_on_disk/bod_open() and free srv->optionptrs on exit 2010-05-08 11:55:52 +02:00
Stefan Bühler b144242a07 Fix timestamp handling a little bit 2010-05-08 09:15:38 +02:00
Stefan Bühler 658b9d0131 Fix unitialized var in mod_deflate 2010-05-07 21:23:46 +02:00
Stefan Bühler 26942e6b6c Fix dangling references to action stack 2010-05-07 21:14:27 +02:00
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker
* create main_worker earlier
2010-05-07 20:54:50 +02:00
Thomas Porzelt 86e039e6d2 [core] Add --module-resident commandline parameter to prevent module unloading. Useful for valgrind or tcmalloc 2010-05-06 22:42:47 +02:00
Stefan Bühler 46b9a28f87 Fix pathinfo; action to remove the pathinfo from the url too (for SCRIPT_NAME) 2010-05-01 11:54:25 +02:00
Thomas Porzelt 67e940676d [mod_userdir] Reorder includes to kill compiler warning 2010-04-25 16:47:44 +02:00
Thomas Porzelt bf2d01e56c [core] Ensure that a connection is always in the io timeout queue when not in keep-alive state 2010-04-25 16:34:52 +02:00
Thomas Porzelt 32cb017ba6 [core] Zero timestamps when removing element from waitqueue 2010-04-25 15:35:59 +02:00
Thomas Porzelt 681b2f2bc9 [mod_userdir] Append username if pattern does not include placeholder for it. Also ensure slashes in certain places 2010-04-18 20:54:15 +02:00
Thomas Porzelt f528fc9851 [mod_userdir] Removed debug prints 2010-04-17 15:45:32 +02:00
Thomas Porzelt 852ff8ecf6 [modules] Add mod_userdir 2010-04-17 15:44:39 +02:00
Thomas Porzelt c72ee99ad7 [modules] Add mod_flv 2010-04-11 23:16:25 +02:00
source@lighttpd.net 4ef800e871 Use HTTP/1.0 in mod_proxy for now, don't forward (Proxy-)?Connection headers 2010-04-07 14:57:34 +02:00
Thomas Porzelt 9d14c6bce7 [core] Send Content-Type text/html for generated error pages 2010-04-05 14:33:52 +02:00
Thomas Porzelt 6c2da09814 [mod_progress] Fix 'sent' output, progress.show parameter parsing and send application/x-javascript Content-Type header 2010-04-05 14:27:14 +02:00
Thomas Porzelt 2e710f4241 [mod_progress] Fix detection of finished requests 2010-04-05 00:26:10 +02:00
Thomas Porzelt 0c751ba6ef [mod_progress] Fix JSON format (double quotes instead of single quotes...), fix wrong default recognized http method (GET instead of POST) and a minor compile warning 2010-04-04 22:51:27 +02:00
Thomas Porzelt 9b0db666c5 [modules] Add mod_progress 2010-04-04 22:04:14 +02:00
Thomas Porzelt 0af117d47f [core] Reposition check for header size limit fixing wrong positives 2010-04-04 17:11:57 +02:00
Thomas Porzelt 683e334599 [plugin_core] Return error 405 for methods other than GET or HEAD on static files 2010-04-04 17:07:24 +02:00
Thomas Porzelt ad8570423a [core] Add li_http_method_from_string() function 2010-04-04 16:37:02 +02:00
Stefan Bühler 19bc091432 Only call li_plugins_handle_vrclose in vrequest_reset if vrequest is in use 2010-04-03 21:32:02 +02:00
Stefan Bühler bd40dec873 Only call li_plugins_handle_vrclose in vrequest_free if vrequest is in use 2010-04-03 21:22:02 +02:00
Stefan Bühler c89c194deb Fix module path handling in angel 2010-03-26 13:33:47 +01:00
Thomas Porzelt 8186b62dfe [mod_rewrite,mod_redirect] Refactor code a bit to silence clang code analyzer 2010-03-22 20:58:12 +01:00
Stefan Bühler 7cd62d7a54 mod_openssl: Fix check of return value from SSL_CTX_set_options 2010-03-07 13:25:51 +01:00
Stefan Bühler 053739a46d [lua]: chunkqueue: fix file<->tempfile handling 2010-03-03 16:27:11 +01:00
Stefan Bühler 25222e9b1c stat-cache: Fix segfault 2010-03-03 11:51:49 +01:00
Stefan Bühler a31b3ee403 [lua]: provide filename to chunkfile for add_temp_file (needed to unlink it) 2010-03-03 11:16:16 +01:00
Stefan Bühler 405c6b26f4 Part 2: [lua]: Add 'add_file' and 'add_temp_file' method for chunkqueue; 'add' only accepts simple strings now 2010-03-02 23:20:07 +01:00
Stefan Bühler 82c2971ddc [lua]: Add 'add_file' and 'add_temp_file' method for chunkqueue; 'add' only accepts simple strings now 2010-03-02 22:50:42 +01:00
Stefan Bühler 48aac3ab07 [stat-cache] Provide blocking cached stat 2010-03-02 22:50:26 +01:00