Stefan Bühler
b41cc2898a
generic backends
2013-05-23 12:01:04 +02:00
Stefan Bühler
c450fa82a5
[core] implement streams on chunkqueues
2013-05-22 18:12:15 +02:00
Stefan Bühler
6a33c93231
Revert "[core] implement streams on chunkqueues"
...
- accidental push, patch not finished yet
This reverts commit 74ce55c860
.
2013-05-17 20:27:52 +02:00
Stefan Bühler
74ce55c860
[core] implement streams on chunkqueues
2013-05-17 15:40:20 +02:00
Stefan Bühler
a12d550557
cleanup base.h
2013-05-17 15:40:20 +02:00
Stefan Bühler
20a63070e2
[chunks] extract to plain memory
2013-05-17 15:40:20 +02:00
Stefan Bühler
0d85a068c8
[lua] add per lua_State lock
2013-05-04 13:11:25 +02:00
Stefan Bühler
ff7b73c8a9
[collect] Allow to start collect without worker context
2013-04-10 20:48:16 +02:00
Stefan Bühler
01abf704a3
[lua] Use recursive lock for global lua lock
2012-12-06 15:43:11 +01:00
Stefan Bühler
5d48ae7102
[log] Add changable log contexts (i.e. references to the real one), so a pointer to such context can be used over a longer period of time
2012-03-17 15:52:19 +01:00
Stefan Bühler
b1c45e6a8f
[chunk/network] use glib error system to report errors (instead of using virtualrequest context)
2012-03-16 15:44:22 +01:00
Stefan Bühler
77f786ed18
[log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest
2012-03-16 13:25:52 +01:00
Stefan Bühler
9bf335c121
[jobqueue] add li_job_stop
2011-12-19 16:42:18 +01:00
Stefan Bühler
9e215e397f
[value] add some functions to handle liValue
2011-11-30 01:00:20 +01:00
Thomas Porzelt
aeb88422a0
[profiler] export li_profiler_enabled and li_profiler_hashtable_insert/remove. add heap base/break/size to dump output
2011-11-26 15:56:45 +01:00
Stefan Bühler
3277edabe6
connection.c: optimize buffer usage - don't keep too many unused buffers around
2011-11-18 19:04:42 +01:00
Thomas Porzelt
ab313d20c2
[core] change connection garbage collector algorithm to free all unused connections up to the maximum of active connections during the last 5 minutes
2011-11-17 18:59:09 +01:00
Thomas Porzelt
011380dcb7
[core] change memory profiler output, add minsize parameter to debug.profiler_dump action
2011-11-15 02:01:35 +01:00
Thomas Porzelt
04c8356b44
[config parser] change syntax again: user defined variables are now defined as 'x = ...;'. user defined actions are not special anymore
2011-08-28 11:30:35 +02:00
Thomas Porzelt
9f832c75ea
Config syntax changes and parser fixes:
...
* Change ":" to "=>" in hash tables
* Change assignments to not need "=" anymore
* User defined actions must now be prefixed with the "action" keyword
* Anonymous user defined actions don't need the "$" prefix anymore
* Fix parsing of conditionals with more than 2 conditions
2011-08-20 11:43:02 +02:00
Thomas Porzelt
496a28f197
[core] truncate temp string before evaluating pattern. add comment to pattern.h that li_eval_pattern() does not truncate the string for you
2011-07-20 20:48:30 +02:00
Stefan Bühler
0fcbfb7ab7
[core] optimize syscalls per connection
2011-05-04 15:23:53 +02:00
Stefan Bühler
d9cc24b8e6
[core]: fix connection/vrequest callbacks to return FALSE after they got reset, so handling stops
2011-01-10 20:00:44 +01:00
Stefan Bühler
9c6f894eb5
[mime-types] Fix mimetype insert, add new test cases to catch this
2010-12-30 15:06:10 +01:00
Stefan Bühler
11fa781f98
Fix some warnings found with clang analyzer
2010-10-07 18:31:21 +02:00
Stefan Bühler
2941105e28
[pattern] Fix vr->wrk->tmp_str usage, remove pattern.h from base.h, add pattern support to header.add* actions
2010-10-07 16:14:12 +02:00
Stefan Bühler
ab9421a5e1
[core] Provide safe wrapper for crypt if crypt_r is not available
2010-10-06 13:47:48 +02:00
Stefan Bühler
177fc95219
[core] Add phys.docroot and phys.pathinfo
2010-10-05 13:57:26 +02:00
Stefan Bühler
52584c99bb
[pattern] Add ranges (and fix match-info handling)
2010-10-05 13:26:03 +02:00
Stefan Bühler
685973a3ca
[mod_auth] Fix authentication (has been "disabled")! Implement apr-md5 crypt, add test cases
2010-10-03 15:53:43 +02:00
Stefan Bühler
d6820e5cfd
[pattern] Hide pattern-part struct
2010-09-26 01:04:50 +02:00
Stefan Bühler
c35cf21c52
[log] Add basic api to open log files via angel
2010-09-25 14:13:29 +02:00
Thomas Porzelt
31d2291a1c
[core] Add support for throttling by IP
2010-09-23 21:01:46 +02:00
Stefan Bühler
8ae6902602
[core] remove lighttpd-glue.h from base.h
2010-09-23 18:35:57 +02:00
Stefan Bühler
3b1a781381
[core] remove encoding.h from base.h includes
2010-09-23 18:28:31 +02:00
Stefan Bühler
7fbcfb86d9
[mod_openssl]: better io event handling (ssl may want to write while lighty only wants to read)
2010-09-23 13:36:07 +02:00
Stefan Bühler
823b9d13c2
[core]: wait for connections before shutdown
2010-09-21 14:33:32 +02:00
Thomas Porzelt
14d48527af
[core] Make log.timestamp creation/destruction threadsafe
2010-09-19 18:00:31 +02:00
Thomas Porzelt
a3b7ce74af
[core] Rework throttle-pool handling to be thread-safe in creation/destruction aswell as more accurate and fair throttling
2010-09-12 18:54:57 +02:00
Thomas Porzelt
2a04983b9d
[waitqueue] Add 'length' struct member, remove li_waitqueue_length() function
2010-09-12 18:27:09 +02:00
Stefan Bühler
b29c8161f1
Fix mimetypes
2010-09-12 15:55:45 +02:00
Stefan Bühler
be65208143
waitqueue: modify callback
2010-09-12 14:19:25 +02:00
Stefan Bühler
7d938e48e3
[log] Fix prepare handler
2010-09-05 14:19:27 +02:00
Stefan Bühler
79d98f5991
[core] Use liJobQueue for vrequest job queue
2010-09-05 13:39:30 +02:00
Stefan Bühler
c3dc0d8d7e
[common]: Add generic jobqueue
2010-09-05 13:39:22 +02:00
Thomas Porzelt
582dfa99d7
[core] Rework mimetype lookup code
2010-09-04 14:50:35 +02:00
Thomas Porzelt
9c63e60cb7
[core] Add workers.cpu_affinity setup action
2010-08-29 12:24:30 +02:00
Stefan Bühler
77ad119f66
[lua]: add subrequests
2010-08-26 00:34:28 +02:00
Stefan Bühler
1c3d3c287f
[core]: add tasklet pools to workers and use them for stat-cache
2010-08-25 18:05:23 +02:00
Stefan Bühler
8587598a66
[core] add tasklets: jobs which use blocking code
2010-08-25 15:56:11 +02:00