summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2009-09-13doc: Move templates to data/templates/ directoryMukund Sivaraman
2009-09-13doc: Cleanup doc/Makefile.amMukund Sivaraman
2009-09-13doc: Use asciidoc for manpageMukund Sivaraman
2009-09-13doc: Remove report.sh scriptMukund Sivaraman
2009-09-11tests: add a script wrapper to run tinyproxy under valgrind in the tests.Michael Adam
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 Adam
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 Adam
Michael
2009-09-10reqs.c: fix two implicit cast warnings.Michael Adam
Michael
2009-09-10tests: restructure run_tests into functions to make main flow clearer.Michael Adam
Also prepare for modularizing the testsuite. Michael
2009-09-10tests:run_tests: add complete GPL boilerplate.Michael Adam
Michael
2009-09-10tests:webclient: add complete GPL boilerplate.Michael Adam
Michael
2009-09-10tests/webserver: add complete GPL boilerplate.Michael Adam
Michael
2009-09-10tests:webserver: make pid-file, log-dir and doc-root reside in /tmp by defaultMichael Adam
So simply starting the server will work. Michael
2009-09-10tests/webserver: rework locking of pid file.Michael Adam
Michael
2009-09-10tests:webserver: reopen STDOUT/STDERR after locking pid file.Michael Adam
Michael
2009-09-10tests: this is a first draft of the beginning of a test suite.Michael Adam
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 Adam
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 Adam
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 Adam
* 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 Adam
Michael
2009-08-12Fix compiler warnings: make const strings const in process_client_headers().Michael Adam
Michael
2009-08-12Fix compiler warnings: Make const strings const in remove_connection_headers()Michael Adam
Michael
2009-08-09Fix implicit cast warning in get_all_headers().Michael Adam
And untangle assignment from check. Michael
2009-08-09Fix two implicit cast warnings in pull_client_data().Michael Adam
Michael
2009-08-09Fix three implicit cast warnings in process_request().Michael Adam
Michael
2009-08-09Fix implicit cast warning in upstream_add().Michael Adam
Michael
2009-08-09Fix implicit cast warning in extract_ssl_url().Michael Adam
Michael
2009-08-09Fix implicit cast warning in extract_http_url().Michael Adam
Michael
2009-08-09Fix implicit cast warning in check_allowed_connect_ports().Michael Adam
Michael
2009-08-09fix signed vs unsigned comparison warning in check_allowed_connect_ports().Michael Adam
Michael
2009-08-07readline(): fix 5 implicit cast warningsMichael Adam
Michael
2009-08-07write_message(): fix signed/unsigned comparison warningMichael Adam
Michael
2009-08-07write_message(): fix implicit cast warnings.Michael Adam
Michael
2009-08-07safe_write: fix unsigned vs. signed comparisonMichael Adam
Michael
2009-08-07send_stored_logs(): remove an implicit cast warning.Michael Adam
Michael
2009-08-07send_stored_logs: fix signed/unsigned comparisonMichael Adam
Michael
2009-08-07log_message(): remove implicit cast warning.Michael Adam
Michael
2009-08-07log: make const char array const.Michael Adam
Michael
2009-08-07http_message_add_headers: make argument num_headers unsignedMichael Adam
and remove signed vs. unsigned comparison warnings. Michael
2009-08-07http_message_add_headers(): fix implicit cast warning.Michael Adam
Michael
2009-08-07http_message_create(): remove two implicit cast warnings.Michael Adam
Michael
2009-08-07heap: make a const string const in malloc_shared_memory().Michael Adam
Michael
2009-08-07heap: fix an implicit cast warning.Michael Adam
Michael
2009-08-07hashmap: fix three implicit cast warnings.Michael Adam
Michael
2009-08-07Fix an implicit cast warning in initialize_conn().Michael Adam
Michael
2009-08-07send_html_file(): remove a discards qualifyer warningMichael Adam
and untangle assignment from check. Michael
2009-08-07html-error: make read only argument const in lookup_variable().Michael Adam
Michael
2009-08-07make a const string const in send_http_error_message().Michael Adam
Michael
2009-08-07make a const string const in send_http_headers().Michael Adam
Michael
2009-08-07make message argument of indicate_http_error() const.Michael Adam
Michael