Michael Adam
e8cbd7088c
docs:tinyproxy.conf: document "PidFile".
...
Michael
2009-09-22 00:22:19 +02:00
Michael Adam
7b07477ebd
docs:tinyproxy.conf: document LogFile, Syslog, and LogLevel
...
Michael
2009-09-22 00:19:12 +02:00
Michael Adam
93219ea0db
docs:tinyproxy.conf: describe ErrorFile and DefaultErrorFile and StatFile
...
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-22 00:05:23 +02:00
Michael Adam
92c64cabc1
tests: use the debug.html file as DefaultErrorFile in the tests.
...
Michael
2009-09-21 09:42:47 +02:00
Mukund Sivaraman
df6e8ae046
Fix warning about format string not being a string literal
2009-09-21 10:04:09 +05:30
Mukund Sivaraman
f0cc213c5a
Remove trailing comma from acl_type enum
2009-09-21 09:59:11 +05:30
Mukund Sivaraman
e9f8212560
Suppress gcc warnings about variadic macros
2009-09-21 09:57:29 +05:30
Mukund Sivaraman
0cc707b3ff
Rename conffile.[ch] to conf.[ch]
2009-09-21 09:41:59 +05:30
Mukund Sivaraman
9d5a15ed2d
[BB#18] Fix pointer aliasing issues
...
The changes were suggested by ians on the Banu forums.
2009-09-21 09:16:58 +05:30
Mukund Sivaraman
d7ae6e4653
build: Add -ansi and --std=c89 to CFLAGS
2009-09-21 09:14:51 +05:30
Mukund Sivaraman
eccc765057
Remove trailing comma from filter_policy_t
2009-09-21 07:32:38 +05:30
Michael Adam
b424ec2865
configure: fix a typo in the tinyproxy version definition.
...
Michael
2009-09-20 22:26:41 +02:00
Michael Adam
b95f7b9ffb
Print a http error when the client headers could not be retrieved.
...
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-20 22:24:18 +02:00
Michael Adam
fcb053a77c
Revert "Remove unused parameter from process_request()"
...
This reverts commit f3312c22a0
.
The "hashofheaders" argument to process_request() is needed
for building with reverse support or with transparent support.
Michael
2009-09-20 21:58:52 +02:00
Michael Adam
87f7a79e89
tests:webclient: fix default version (string, not number...)
...
Michael
2009-09-20 13:24:06 +02:00
Michael Adam
2208bebeac
tinyproxy.conf: add a comment referring to the tinyproxy.conf(5) manpage
...
Michael
2009-09-20 11:01:30 +02:00
Michael Adam
30cb3f89ab
tinyproxy.conf: update description of User/Group
...
Michael
2009-09-20 10:58:18 +02:00
Mukund Sivaraman
ad8f0feb4f
build: Remove obsolete/unused macros
2009-09-20 14:14:27 +05:30
Mukund Sivaraman
23464e88ad
Remove unnecessary vfork.h include
2009-09-20 14:08:14 +05:30
Mukund Sivaraman
73409c9fe1
build: Remove use of the obsolete AC_TYPE_SIGNAL macro
...
C89 compilers use void return type for signal handler functions.
2009-09-20 14:03:56 +05:30
Mukund Sivaraman
919eedc7f9
Remove inline keyword from static functions
...
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-20 13:58:50 +05:30
Mukund Sivaraman
403fd7cc25
build: Remove obsolete/unused macros
2009-09-20 13:54:57 +05:30
Mukund Sivaraman
0978decbac
build: Rename autoconf variable
2009-09-20 13:45:47 +05:30
Mukund Sivaraman
a1725f6297
Better handle the debugging flags
2009-09-20 13:38:53 +05:30
Mukund Sivaraman
1a5d1b4833
build: Remove profiling related CFLAGS
...
These can be specified manually by a developer when necessary. Such flags
do not belong in a generic distribution.
2009-09-20 13:37:09 +05:30
Mukund Sivaraman
753010f571
build: Update CFLAGS and also check if they are supported
...
Also, enable all warnings by default, whether it is a debug
build or not.
2009-09-20 13:32:46 +05:30
Mukund Sivaraman
07ad8ad1b2
Remove unnecessary CFLAGS initialization
2009-09-20 13:19:22 +05:30
Mukund Sivaraman
1196cc11b9
Remove unnecessary prefix test
2009-09-20 13:12:57 +05:30
Mukund Sivaraman
abafcf08ab
Remove the target system information when the version is displayed
...
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-20 12:40:52 +05:30
Mukund Sivaraman
90e7d07f44
Remove ability to change the name of the default configuration file
...
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-20 12:33:47 +05:30
Mukund Sivaraman
6f9fa5287f
Remove obsolete SOCKS related entries from configure.ac
...
These were probably never supported, and we shouldn't claim that
we support SOCKS when we don't.
2009-09-20 12:21:59 +05:30
Mukund Sivaraman
fbc0549540
Remove unused statements from configure.ac
2009-09-20 12:14:02 +05:30
Mukund Sivaraman
851ef02fbe
build: Generate more version related variables
2009-09-20 12:13:26 +05:30
Mukund Sivaraman
e33fb9f77b
docs: Make formatting changes in tinyproxy.conf manpage
2009-09-20 11:55:47 +05:30
Mukund Sivaraman
9dfe1f1a56
docs: Further describe User and Group keys in tinyproxy.conf manpage
2009-09-20 11:53:44 +05:30
Mukund Sivaraman
9f0bf550af
Revert "docs: extend description of the User and Group parameters."
...
This reverts commit b6433522eb
.
2009-09-20 11:50:47 +05:30
Michael Adam
371e13e44f
docs: document Listen, Bind, Bindsame, and Timeout in tinyproxy.conf(5)
...
Michael
2009-09-20 01:54:06 +02:00
Michael Adam
b6433522eb
docs: extend description of the User and Group parameters.
...
Michael
2009-09-20 01:54:06 +02:00
Mukund Sivaraman
f7d494d9f7
doc: Add initial description in tinyproxy.conf manpage
2009-09-19 23:04:04 +05:30
Mukund Sivaraman
0def858576
docs: Add placeholder for tinyproxy.conf manpage
2009-09-19 09:57:24 +05:30
Michael Adam
4d4f7d2a09
tests:webclient: add copyright notice to the pod documentation.
...
Michael
2009-09-17 00:25:57 +02:00
Michael Adam
d1c8a68375
tests:webserver: Add copyright notice to the pod documentation.
...
Michael
2009-09-17 00:25:57 +02:00
Michael Adam
aae8ae5d8d
tests:webclient: reduce duplication.
...
Michael
2009-09-17 00:25:57 +02:00
Michael Adam
b7d9256a7a
tests:webclient: add a --dry-run mode that prints the request to stdout
...
and does not connect to the server at all.
Michael
2009-09-16 22:35:35 +02:00
Michael Adam
4ef7901115
tests:webclient: extend webclient to support HTTP/0.9, 1.0 and 1.1 requests.
...
Enable spcifying HTTP protocol version on command line ( --http-version).
Enable specifying method (GET, CONNECT, ...) on the command line (--method).
Add POD documentation.
Use pod2usage() to print help message.
Michael
2009-09-16 22:35:35 +02:00
Michael Adam
b5a69151fa
tests: add Makefile.am to tests/ and tests/scripts dir (for packaging)
...
Michael
2009-09-16 22:35:35 +02:00
Michael Adam
f648d82edc
tests: prepare tinyproxy for filter file usage in tests.
...
Michael
2009-09-15 02:25:10 +02:00
Michael Adam
574a65c28e
filter: un-linebreak after un-indent...
...
Michael
2009-09-15 02:25:10 +02:00
Michael Adam
c240ca3bcc
child: move log messagte in child_main_loop() to a less irritating place.
...
Michael
2009-09-15 02:25:10 +02:00
Michael Adam
93b00446b9
filter: reduce indentation in filter_init by 16 characters by using return.
...
Michael
2009-09-15 02:25:09 +02:00