summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-13tests: print IP and port after firing up tinyproxy and webserverMichael Adam1-2/+2
Michael
2009-09-13tests:webserver: be more rfc 1945 compliant in the server-header.Michael Adam1-1/+3
Michael
2009-09-13tests: fix run_tests.sh after templates have moved.Michael Adam1-3/+3
Michael
2009-09-13doc: Remove missing tinyproxy.conf from EXTRA_DISTMukund Sivaraman1-1/+0
2009-09-13Cleanup top-level Makefile.amMukund Sivaraman1-3/+10
2009-09-13m4macros: EXTRA_DIST m4 macros from its own directoryMukund Sivaraman3-6/+6
2009-09-13Remove files that are distributed anyway from EXTRA_DISTMukund Sivaraman1-2/+0
2009-09-13data: Cleanup installation of templatesMukund Sivaraman2-12/+5
2009-09-13Fix Makefile.amMukund Sivaraman1-1/+1
2009-09-13doc: Move doc/tinyproxy.conf to etc/ directoryMukund Sivaraman4-25/+8
2009-09-13doc: Move doc/HTML_VARIABLES content to the manpageMukund Sivaraman4-16/+80
2009-09-13doc: Rename some filesMukund Sivaraman3-2/+2
2009-09-13doc: Delete report.sh.tmplMukund Sivaraman1-16/+0
2009-09-13doc: Move templates to data/templates/ directoryMukund Sivaraman8-10/+16
2009-09-13doc: Cleanup doc/Makefile.amMukund Sivaraman1-5/+10
2009-09-13doc: Use asciidoc for manpageMukund Sivaraman6-62/+189
2009-09-13doc: Remove report.sh scriptMukund Sivaraman1-14/+0
2009-09-11tests: add a script wrapper to run tinyproxy under valgrind in the tests.Michael Adam1-0/+28
This runs valgrind with the -q switch - i.e. the log file tests/env/var/log/valgrind.log will only contain anything when there were valgrind errors. (Memory leaks...) Michael
2009-09-11tests: add support for running tinyproxy under valgrind.Michael Adam1-1/+1
When you want to run tinyproxy under valgrind, set the environment variable VALGRIND to some useful valgrind command line. Michael
2009-09-10make "config_file" a const in the config struct.Michael Adam1-1/+1
Michael
2009-09-10reqs.c: fix two implicit cast warnings.Michael Adam1-2/+2
Michael
2009-09-10tests: restructure run_tests into functions to make main flow clearer.Michael Adam1-65/+104
Also prepare for modularizing the testsuite. Michael
2009-09-10tests:run_tests: add complete GPL boilerplate.Michael Adam1-2/+13
Michael
2009-09-10tests:webclient: add complete GPL boilerplate.Michael Adam1-2/+13
Michael
2009-09-10tests/webserver: add complete GPL boilerplate.Michael Adam1-2/+14
Michael
2009-09-10tests:webserver: make pid-file, log-dir and doc-root reside in /tmp by defaultMichael Adam1-3/+3
So simply starting the server will work. Michael
2009-09-10tests/webserver: rework locking of pid file.Michael Adam1-5/+27
Michael
2009-09-10tests:webserver: reopen STDOUT/STDERR after locking pid file.Michael Adam1-5/+8
Michael
2009-09-10tests: this is a first draft of the beginning of a test suite.Michael Adam1-0/+138
It provisions a test envirnonment, fires up the perl web server and tinyproxy and currently makes one direct request to the web server and one request through tinyproxy. This will be modularized and extended in the sequel. Michael
2009-09-10tests: add a simple web client written in perl.Michael Adam1-0/+46
This should be one of the test tools for writing our testsuite. This can be used to make direct connects to web servers like so: webclient.pl server_ip:port /path/file.html and to make requestis via a proxy like this: webclient.pl proxy_ip:port http://webserver:port/path/file.html Michael
2009-09-10tests: add a simple webserver written in perl.Michael Adam1-0/+276
This should be the web server to test against in the upcoming selftest suite. This web server will evolve as the test suite grows. Currently, it just returns a web site quoting the request and a fortune (if fortune is installed...) for whatever request it gets. The option to provide a document root is already present. Michael
2009-09-09README: Update the CONTRIBUTING section.Michael Adam1-2/+16
* provide the git url * mention git format-patch * mention the #tinyproxy irc channel Michael
2009-08-12Fix compiler warnings: make const strings const in process_server_headers().Michael Adam1-1/+1
Michael
2009-08-12Fix compiler warnings: make const strings const in process_client_headers().Michael Adam1-1/+1
Michael
2009-08-12Fix compiler warnings: Make const strings const in remove_connection_headers()Michael Adam1-1/+1
Michael
2009-08-09Fix implicit cast warning in get_all_headers().Michael Adam1-1/+2
And untangle assignment from check. Michael
2009-08-09Fix two implicit cast warnings in pull_client_data().Michael Adam1-2/+3
Michael
2009-08-09Fix three implicit cast warnings in process_request().Michael Adam1-4/+4
Michael
2009-08-09Fix implicit cast warning in upstream_add().Michael Adam1-1/+1
Michael
2009-08-09Fix implicit cast warning in extract_ssl_url().Michael Adam1-1/+1
Michael
2009-08-09Fix implicit cast warning in extract_http_url().Michael Adam1-1/+1
Michael
2009-08-09Fix implicit cast warning in check_allowed_connect_ports().Michael Adam1-1/+1
Michael
2009-08-09fix signed vs unsigned comparison warning in check_allowed_connect_ports().Michael Adam1-1/+1
Michael
2009-08-07readline(): fix 5 implicit cast warningsMichael Adam1-5/+7
Michael
2009-08-07write_message(): fix signed/unsigned comparison warningMichael Adam1-1/+1
Michael
2009-08-07write_message(): fix implicit cast warnings.Michael Adam1-2/+2
Michael
2009-08-07safe_write: fix unsigned vs. signed comparisonMichael Adam1-1/+1
Michael
2009-08-07send_stored_logs(): remove an implicit cast warning.Michael Adam1-1/+1
Michael
2009-08-07send_stored_logs: fix signed/unsigned comparisonMichael Adam1-1/+1
Michael
2009-08-07log_message(): remove implicit cast warning.Michael Adam1-1/+1
Michael