2
0
Fork 0
Commit Graph

42 Commits (5feea39ae63c39c3c4642d9b256002cd87544184)

Author SHA1 Message Date
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 2009-01-01 16:44:42 +01:00
Thomas Porzelt 66f7e669dd add log level "backend" 2008-12-31 02:50:32 +01:00
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 2008-12-30 14:24:33 +01:00
Stefan Bühler 324224fe2e Implemented two angel "fake" functions 2008-12-20 16:25:02 +01:00
Thomas Porzelt 58cf85f5d1 remove old log stuff 2008-12-02 15:58:06 +01:00
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 2008-11-16 21:33:53 +01:00
Thomas Porzelt 358b9f95f1 implement throttling, change some time_t to ev_tstamp 2008-11-12 22:16:52 +01:00
Thomas Porzelt e9f8b51452 add LOG_TYPE_NONE that doesn't log anything 2008-11-12 17:38:32 +01:00
Stefan Bühler 73fff068c3 Merge virtual requests 2008-10-25 15:25:02 +02:00
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 2008-10-25 14:53:57 +02:00
Thomas Porzelt ed347d2f0c small memory fix in log.c 2008-10-17 18:07:38 +02:00
Thomas Porzelt 5150637e13 implemented port feature for listen setup; small memleak und config parser fixes 2008-09-27 17:06:43 +02:00
Thomas Porzelt 30bae997eb moved log cleanups to own function; fixed memleaks in config parser and plugin_core 2008-09-27 00:09:12 +02:00
Stefan Bühler 091f122aad Renamed option -> value, some other minor/related renames; added option_value as
datatype for the value of options (union for ptr/gin64)
2008-09-26 16:11:08 +02:00
Thomas Porzelt 292d013134 reworked logging functions; added 'log' and 'log.timestamp' options, removed 'log.level' and 'log.target' options 2008-09-24 23:43:22 +02:00
Stefan Bühler bfd20c2662 Add missing includes for open/fcntl 2008-09-18 09:14:57 +02:00
Thomas Porzelt 623e10d7a0 added missing insert into hashtable for logs, removed lock from log_free_unlocked() 2008-09-10 00:07:42 +02:00
Stefan Bühler dbc9859ce8 Use atomic refcount operations 2008-09-09 16:41:02 +02:00
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 2008-09-08 02:20:55 +02:00
Thomas Porzelt c1bc3b8e0a small cleanup in config parser; small fix in log.c 2008-08-14 15:52:45 +02:00
Thomas Porzelt f795f2463a added ^= (prefix match) and $= (suffix match) operators 2008-08-13 22:10:20 +02:00
Stefan Bühler 1bc8c85266 * replace strerror with g_strerror, kill errno from logging
* starting chunked encoding filter
* network write cleanup + sendfile backend (default for now)
2008-08-13 21:50:07 +02:00
Thomas Porzelt 1901397a0e minor enhencements; added log.level and log.target options 2008-08-13 19:57:19 +02:00
Thomas Porzelt 1798e226ff fixed fd initialization warning with -O2 in log.c 2008-08-12 19:34:11 +02:00
Thomas Porzelt 2d08b0b823 small changes 2008-08-09 01:55:07 +02:00
Thomas Porzelt 09481f470f changed log_ref to use mutex instead of atomic operations because those could still lead to race conditions 2008-08-06 23:48:39 +02:00
Thomas Porzelt a603d799f6 config parser changes; removed srv->mutex 2008-08-05 18:10:22 +02:00
Thomas Porzelt 5e700e79e1 small config parser and log changes 2008-08-03 22:26:37 +02:00
Thomas Porzelt a9cbec1046 config parser rewritten 2008-08-02 22:56:07 +02:00
Thomas Porzelt 9858f4ee66 exit on log with level LOG_LEVEL_ERROR 2008-07-22 16:00:31 +02:00
Thomas Porzelt 5045a5ee04 made log refcounting, srv->exiting and srv->rotate_logs atomic operations; moved server and connection structs from base.h into server.h and connection.h respectively 2008-07-20 18:28:58 +02:00
Thomas Porzelt e80f384fac splitted log_thread_start() out of log_init() do enable delay of actual writing 2008-07-20 17:12:17 +02:00
Thomas Porzelt a37ec08db5 logging changes 2008-07-20 16:35:04 +02:00
Thomas Porzelt f5fdc41644 changed logging to use references 2008-07-19 22:13:32 +02:00
Thomas Porzelt 6c7d8a1165 log fixes 2008-07-19 15:12:32 +02:00
Thomas Porzelt 49dfcddc2a added convenience makros for logging 2008-07-19 01:33:12 +02:00
Thomas Porzelt a662b01aca removed now unneeded mutex in log_t 2008-07-19 00:51:17 +02:00
Thomas Porzelt 4880a44903 introduced log levels 2008-07-19 00:38:33 +02:00
Thomas Porzelt 88f6a30274 introduced a logging thread 2008-07-19 00:11:08 +02:00
Thomas Porzelt b2697e7cb8 log_write_() improved 2008-07-18 22:16:30 +02:00
Thomas Porzelt acf42d82b4 added mutexes for server und connection structs; log_write_() proposal added 2008-07-18 20:23:05 +02:00
Stefan Bühler 9372e41393 Initial commit 2008-06-24 21:19:20 +02:00