summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-27tinyproxy.conf: Update the description of XTinyproxy (it is a bool).Michael Adam1-3/+3
Michael
2009-09-27conf: turn XTinyproxy into a boolean optionMichael Adam3-3/+3
This is what it actually is. The string value was used in earlier versions to compare against the uri->authority string. But not as a list of sites to create an X-Tinyproxy header for, as the tinyproxy.conf template states... Michael
2009-09-27tests: fix infinite loop "waiting for 3 seconds..." in bashMichael Adam1-3/+1
Michael
2009-09-27tests:webclient: allow HTTP/1.0 requests with methods other than GETMichael Adam1-3/+0
Michael
2009-09-27make: add targets "test" and "valgrind-test"Michael Adam1-0/+6
These simply run the corresponding test scripts. Needs to be extended. Michael
2009-09-27Modify usage help text shown when Tinyproxy is run with -hMukund Sivaraman1-7/+26
2009-09-27build: Reverse maintainer mode testMukund Sivaraman1-1/+1
This is so that if this variable name changes in the future, Tinyproxy would still build without aborting on -Werror.
2009-09-27Use correct format string for POSIX pid_t in pidfile_create()Mukund Sivaraman1-5/+11
This patch also adds a gtk-doc comment for pidfile_create().
2009-09-27Remove obsolete commentMukund Sivaraman1-6/+0
2009-09-27build: Run configure in autogen.shMukund Sivaraman1-0/+23
2009-09-27Add explicit casts for c++ mode in transparent-proxy.cMukund Sivaraman1-5/+5
2009-09-27Fix use of uninitialized variableMukund Sivaraman1-2/+2
2009-09-27Add explicit casts for c++ mode in reverse-proxy.cMukund Sivaraman1-5/+8
2009-09-27build: Add -Werror to CFLAGS during maintainer mode buildsMukund Sivaraman1-1/+5
2009-09-27strdup() the default stathost in config struct as it can be freedMukund Sivaraman1-1/+1
2009-09-27Don't ignore retval of ftruncate() in utils.cMukund Sivaraman1-1/+5
2009-09-27Don't ignore retval of read() in reqs.cMukund Sivaraman1-2/+10
2009-09-27Don't ignore retval of write() in log.cMukund Sivaraman1-3/+20
2009-09-27Don't ignore retval of ftruncate() in log.cMukund Sivaraman1-1/+4
2009-09-27Include debugging functions only when debug mode is usedMukund Sivaraman1-0/+4
2009-09-27Don't ignore retval of chdir()Mukund Sivaraman1-1/+6
2009-09-22build: import the AM_SILENT_RULES if available, but default to verbose.Michael Adam1-0/+2
Automake 1.11 (and I think 1.10b already) offers the AM_SILENT_RULES macro. This adds switches --quiet, --enable-silent-rules and --disable-silent-rules to configure. --quiet makes the configure run itself quite. --enable-silent-rules makes the compile process less verbose: for a file that is compiled without errors or warnings, a simple "CC main.o" is printed (e.g.). Compiler warnings and errors are printed of course. This makes it much easier (IMHO) to spot build problems. --disable-silent-rules turns the silent rules off I have set it up such that the default for tinyproxy is to build in verbose mode (i.e. with silent rules disabled). This prints the whole compile call command line for each source file compiled, precisely as before. You can also control verbose/non-verbose mode at "make" time, i.e. after configure has run, by calling "make V=0 ..." or "make V=1 ..." for running in silent and verbose mode, respectively. If the version automake used to create configure is too old, the result is unaltered, compared to the result before this change. Wow - this is a long commit message for a 1-liner. But since I discussed this with Mukund earlier, and he did not seem to be too fond if this, I felt the need to justify this change... :-) Michael
2009-09-22docs:tinyproxy.conf: document "PidFile".Michael Adam1-0/+5
Michael
2009-09-22docs:tinyproxy.conf: document LogFile, Syslog, and LogLevelMichael Adam1-0/+28
Michael
2009-09-22docs:tinyproxy.conf: describe ErrorFile and DefaultErrorFile and StatFileMichael Adam1-0/+28
Somehow, I don't quite get the asciidoc formatting yet. I can't get the extra paragraph on templates to look nice in the manpage output. But at least there is some content... Michael
2009-09-21tests: use the debug.html file as DefaultErrorFile in the tests.Michael Adam1-1/+1
Michael
2009-09-21Fix warning about format string not being a string literalMukund Sivaraman1-28/+29
2009-09-21Remove trailing comma from acl_type enumMukund Sivaraman1-1/+1
2009-09-21Suppress gcc warnings about variadic macrosMukund Sivaraman1-0/+5
2009-09-21Rename conffile.[ch] to conf.[ch]Mukund Sivaraman4-6/+6
2009-09-21[BB#18] Fix pointer aliasing issuesMukund Sivaraman1-10/+5
The changes were suggested by ians on the Banu forums.
2009-09-21build: Add -ansi and --std=c89 to CFLAGSMukund Sivaraman1-1/+1
2009-09-21Remove trailing comma from filter_policy_tMukund Sivaraman1-1/+1
2009-09-20configure: fix a typo in the tinyproxy version definition.Michael Adam1-1/+1
Michael
2009-09-20Print a http error when the client headers could not be retrieved.Michael Adam1-0/+5
A ususal case here is that the headers were buggy, e.g. a line without a ":" to separate the header field name from the value. Previous behaviour was to silently return a blank page. Michael
2009-09-20Revert "Remove unused parameter from process_request()"Michael Adam1-3/+3
This reverts commit f3312c22a0fc49bf1d93e87ee8e84290f3f91171. The "hashofheaders" argument to process_request() is needed for building with reverse support or with transparent support. Michael
2009-09-20tests:webclient: fix default version (string, not number...)Michael Adam1-1/+1
Michael
2009-09-20tinyproxy.conf: add a comment referring to the tinyproxy.conf(5) manpageMichael Adam1-0/+4
Michael
2009-09-20tinyproxy.conf: update description of User/GroupMichael Adam1-4/+3
Michael
2009-09-20build: Remove obsolete/unused macrosMukund Sivaraman1-8/+0
2009-09-20Remove unnecessary vfork.h includeMukund Sivaraman2-4/+0
2009-09-20build: Remove use of the obsolete AC_TYPE_SIGNAL macroMukund Sivaraman2-2/+1
C89 compilers use void return type for signal handler functions.
2009-09-20Remove inline keyword from static functionsMukund Sivaraman5-7/+6
The compiler inlines static functions as necessary anyway. No more inline keywords exist in Tinyproxy source code. We want to avoid using this keyword anyway.
2009-09-20build: Remove obsolete/unused macrosMukund Sivaraman1-9/+1
2009-09-20build: Rename autoconf variableMukund Sivaraman2-9/+6
2009-09-20Better handle the debugging flagsMukund Sivaraman1-9/+6
2009-09-20build: Remove profiling related CFLAGSMukund Sivaraman1-19/+0
These can be specified manually by a developer when necessary. Such flags do not belong in a generic distribution.
2009-09-20build: Update CFLAGS and also check if they are supportedMukund Sivaraman3-4/+76
Also, enable all warnings by default, whether it is a debug build or not.
2009-09-20Remove unnecessary CFLAGS initializationMukund Sivaraman1-8/+0
2009-09-20Remove unnecessary prefix testMukund Sivaraman1-3/+0