diff options
author | 2001-11-30 08:29:04 +0000 | |
---|---|---|
committer | 2001-11-30 08:29:04 +0000 | |
commit | 69fa0ad0d21465573b9dcb07c87ae27f993dfe31 (patch) | |
tree | c05c2d94edd4d7ff330272e06e8c320d0a504f80 | |
parent | 92d85f793b1a41bbbde1811004ae2708a47a44aa (diff) |
A lot of code cleanup and tweaking, plus cookie logging:1.10
* New capability: log mod_usertrack cookies.
* Some code cleanup and commenting.
* Referer and User-Agent now set to want_orig=1 ( a very minor detail )
* Corrected mysql_escape_log to properly check for and escape strings
with 'dangerous' characters. It appears that it was doing this
incorrectly before.
* Deleted log_mysql_child(), a function that was never called.
-rw-r--r-- | CHANGELOG | 14 | ||||
-rw-r--r-- | mod_log_sql.c | 311 |
2 files changed, 194 insertions, 131 deletions
@@ -1,12 +1,24 @@ | |||
1 | $Id: CHANGELOG,v 1.1 2001/11/28 05:26:54 helios Exp $ | 1 | $Id: CHANGELOG,v 1.2 2001/11/30 08:29:04 helios Stab $ |
2 | 2 | ||
3 | 3 | ||
4 | TODO: | 4 | TODO: |
5 | * Full commenting of the code. | 5 | * Full commenting of the code. |
6 | * Bounds checking on all data prior to INSERT | ||
6 | 7 | ||
7 | 8 | ||
8 | CHANGES: | 9 | CHANGES: |
9 | 10 | ||
11 | 1.10: | ||
12 | |||
13 | * New capability: log mod_usertrack cookies. | ||
14 | * Some code cleanup and commenting. | ||
15 | * Referer and User-Agent now set to want_orig=1 ( a very minor detail ) | ||
16 | * Corrected mysql_escape_log to properly check for and escape strings | ||
17 | with `dangerous' characters. It appears that it was doing this | ||
18 | incorrectly before. | ||
19 | * Deleted log_mysql_child(), a function that was never called. | ||
20 | |||
21 | |||
10 | 1.09: | 22 | 1.09: |
11 | 23 | ||
12 | * If the MySQL INSERT causes an error, we re-try that INSERT after | 24 | * If the MySQL INSERT causes an error, we re-try that INSERT after |
diff --git a/mod_log_sql.c b/mod_log_sql.c index 1493e41..0739372 100644 --- a/mod_log_sql.c +++ b/mod_log_sql.c | |||
@@ -1,6 +1,7 @@ | |||
1 | /* $Id: mod_log_sql.c,v 1.1 2001/11/28 05:26:55 helios Exp $ | 1 | /* $Id: mod_log_sql.c,v 1.2 2001/11/30 08:29:04 helios Stab $ |
2 | * | 2 | * |
3 | * mod_log_mysql.c | 3 | * mod_log_mysql.c |
4 | * Release v 1.10 | ||
4 | * | 5 | * |
5 | * Hi, I'm the new maintainer of this code. If you have any questions, | 6 | * Hi, I'm the new maintainer of this code. If you have any questions, |
6 | * comments or suggestions (which are always welcome), please contact Chris | 7 | * comments or suggestions (which are always welcome), please contact Chris |
@@ -70,15 +71,16 @@ | |||
70 | */ | 71 | */ |
71 | 72 | ||
72 | 73 | ||
74 | #include <time.h> | ||
75 | #include <mysql/mysql.h> | ||
76 | |||
73 | #include "httpd.h" | 77 | #include "httpd.h" |
74 | #include "http_config.h" | 78 | #include "http_config.h" |
2004-12-09 | |||
| | |||
* | re-order the cipher types. | 2004-12-06 | |
| | | | | | Add a fixups hook and some Basic Env vars | ||
* | setting proper ignores. | 2004-12-02 | |
| | | | | | | | adding an empty cache files trying to fix >16kb writes. | ||
* | adding autofoo for memcache support | 2004-12-02 | |
| | |||
* | hey hey, this is working code! | 2004-12-02 | |
| | |||
* | input and output filters | 2004-09-28 | |
| | |||
* | rename structures. | 2004-09-27 | |
| | | | | | | properly prefix all non-static functions with mod_gnutls_ fix build for GnuTLS 1.0.X. (redefine the changed structure names) | ||
* | break up the IO functions into their own file | 2004-09-27 | |
| | |||
* | commit before i move everything around | 2004-09-27 | |
| | |||
* | updated | 2004-09-27 | |
| | |||
* | iniail makefiles and license foo | 2004-09-27 | |