Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1142aeff25 |
No files matched your search
@@ -1,14 +1,5 @@
|
|||||||
2001-08-26 Robert James Kaes <rjkaes@flarenet.com>
|
2001-08-26 Robert James Kaes <rjkaes@flarenet.com>
|
||||||
|
|
||||||
* Makefile.am (EXTRA_DIST): Don't include ./reconf in the
|
|
||||||
tarball.
|
|
||||||
|
|
||||||
* src/log.c (log_message): Fixed a problem with the new LOG_CONN
|
|
||||||
log level.
|
|
||||||
|
|
||||||
* configure.in: The debugging code was being included even on
|
|
||||||
non-debugging builds.
|
|
||||||
|
|
||||||
* src/anonymous.c (anonymous_insert): Moved the creation of the
|
* src/anonymous.c (anonymous_insert): Moved the creation of the
|
||||||
search tree into the anonymous_insert() function. Therefore, the
|
search tree into the anonymous_insert() function. Therefore, the
|
||||||
search tree is _not_ created until the first insertion. This
|
search tree is _not_ created until the first insertion. This
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
EXTRA_DIST = configure acconfig.h aclocal.m4 acinclude.m4
|
EXTRA_DIST = configure acconfig.h aclocal.m4 acinclude.m4 reconf
|
||||||
SUBDIRS = src doc
|
SUBDIRS = src doc
|
||||||
+1
-2
@@ -1,4 +1,4 @@
|
|||||||
dnl $Id: configure.in,v 1.17 2001-08-26 23:36:48 rjkaes Exp $
|
dnl $Id: configure.in,v 1.16 2001-08-26 21:22:09 rjkaes Exp $
|
||||||
|
|
||||||
dnl Devlopers, please strive to achieve this order:
|
dnl Devlopers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@@ -212,7 +212,6 @@ if test "$enable_debug" = "yes" ; then
|
|||||||
YFLAGS="-v -d"
|
YFLAGS="-v -d"
|
||||||
else
|
else
|
||||||
dnl No debugging information, include the optimizations
|
dnl No debugging information, include the optimizations
|
||||||
CFLAGS="-DNDEBUG $CFLAGS"
|
|
||||||
YFLAGS="-d"
|
YFLAGS="-d"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -15,11 +15,10 @@ against the current tree and I'll integrate it if possible.
|
|||||||
much of a problem. Just need to modify the process_method() code
|
much of a problem. Just need to modify the process_method() code
|
||||||
to look up the URL and rewrite it. If we want to go really fancy
|
to look up the URL and rewrite it. If we want to go really fancy
|
||||||
with RegEx mapping this could get ugly. :)
|
with RegEx mapping this could get ugly. :)
|
||||||
- Have the ability to send the data from the connections through an
|
- Ed Avis suggests having tinyproxy have the ability to send the data
|
||||||
external filtering program. I kind of like this idea, but I don't
|
from the connections through an external filtering program. I kind of
|
||||||
really have a good way of doing it yet.
|
like this idea, but I don't really have a good way of doing it yet.
|
||||||
Suggested: Ed Avis
|
|
||||||
- Handle Secure Socket Layer (SSL) connections (usually port 443).
|
- Handle Secure Socket Layer (SSL) connections (usually port 443).
|
||||||
|
- Allow selective logging. For example a person may only want to log
|
||||||
|
error messages.
|
||||||
- Include the ability to rewrite both incoming and outgoing headers.
|
- Include the ability to rewrite both incoming and outgoing headers.
|
||||||
- Log requests for tunnelled connections
|
|
||||||
- Allow HTTP header filtering through tunnelled connections
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: log.c,v 1.10 2001-08-26 23:37:26 rjkaes Exp $
|
/* $Id: log.c,v 1.9 2001-08-26 21:10:04 rjkaes Exp $
|
||||||
*
|
*
|
||||||
* Logs the various messages which tinyproxy produces to either a log file or
|
* Logs the various messages which tinyproxy produces to either a log file or
|
||||||
* the syslog daemon. Not much to it...
|
* the syslog daemon. Not much to it...
|
||||||
@@ -76,11 +76,13 @@ void log_message(short int level, char *fmt, ...)
|
|||||||
/*
|
/*
|
||||||
* Figure out if we should write the message or not.
|
* Figure out if we should write the message or not.
|
||||||
*/
|
*/
|
||||||
if (level == LOG_INFO && log_level == LOG_CONN)
|
if (log_level != LOG_CONN) {
|
||||||
return;
|
if (level > log_level && level != LOG_CONN)
|
||||||
|
return;
|
||||||
if (level > log_level)
|
} else {
|
||||||
return;
|
if (level == LOG_INFO)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HAVE_SYSLOG_H
|
#ifdef HAVE_SYSLOG_H
|
||||||
if (config.syslog && level == LOG_CONN)
|
if (config.syslog && level == LOG_CONN)
|
||||||
|
|||||||
Reference in new issue
Block a user