summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2009-09-20Remove the target system information when the version is displayedMukund Sivaraman2-5/+1
If we require information about the runtime environment, it can be found using the uname program. And binutils can tell about what the tinyproxy binary contains. Tinyproxy doesn't have to report this information.
2009-09-20Remove ability to change the name of the default configuration fileMukund Sivaraman4-31/+4
This feature will only confuse us during support, if users come to us with a Tinyproxy build which has a differently named default config file. This feature is not that useful anyway.
2009-09-20Remove obsolete SOCKS related entries from configure.acMukund Sivaraman2-20/+0
These were probably never supported, and we shouldn't claim that we support SOCKS when we don't.
2009-09-20Remove unused statements from configure.acMukund Sivaraman1-3/+0
2009-09-20build: Generate more version related variablesMukund Sivaraman1-1/+48
2009-09-20docs: Make formatting changes in tinyproxy.conf manpageMukund Sivaraman1-4/+4
2009-09-20docs: Further describe User and Group keys in tinyproxy.conf manpageMukund Sivaraman1-2/+4
2009-09-20Revert "docs: extend description of the User and Group parameters."Mukund Sivaraman1-4/+0
This reverts commit b6433522eb051c2d19d4ee2d0c8bdae13f5cbdc2.
2009-09-20docs: document Listen, Bind, Bindsame, and Timeout in tinyproxy.conf(5)Michael Adam1-0/+22
Michael
2009-09-20docs: extend description of the User and Group parameters.Michael Adam1-0/+4
Michael
2009-09-19doc: Add initial description in tinyproxy.conf manpageMukund Sivaraman1-1/+28
2009-09-19docs: Add placeholder for tinyproxy.conf manpageMukund Sivaraman5-0/+70
2009-09-17tests:webclient: add copyright notice to the pod documentation.Michael Adam1-0/+7
Michael
2009-09-17tests:webserver: Add copyright notice to the pod documentation.Michael Adam1-0/+7
Michael