summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
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-20Remove unnecessary vfork.h includeMukund Sivaraman1-3/+0
2009-09-20build: Remove use of the obsolete AC_TYPE_SIGNAL macroMukund Sivaraman1-1/+1
C89 compilers use void return type for signal handler functions.
2009-09-20Remove inline keyword from static functionsMukund Sivaraman4-6/+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: Rename autoconf variableMukund Sivaraman1-2/+2
2009-09-20Remove the target system information when the version is displayedMukund Sivaraman1-1/+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 Sivaraman2-1/+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-15filter: un-linebreak after un-indent...Michael Adam1-10/+4
Michael
2009-09-15child: move log messagte in child_main_loop() to a less irritating place.Michael Adam1-1/+2
Michael
2009-09-15filter: reduce indentation in filter_init by 16 characters by using return.Michael Adam1-72/+76
Michael
2009-09-15Revert "Fix constness of stathost"Mukund Sivaraman1-1/+1
This reverts commit 42d2e10c93aacea89b7e5c23c1487a45788715b3.
2009-09-15Remove unused parameter from process_request()Mukund Sivaraman1-3/+3
2009-09-15Make takesig() into a static functionMukund Sivaraman1-3/+1
2009-09-15Fix constness of stathostMukund Sivaraman1-1/+1
2009-09-15Minor indenting changesMukund Sivaraman1-46/+38
Also changed the text "configuration file" to read "config file".
2009-09-15Return instead of exit() at end of main()Mukund Sivaraman1-1/+1
2009-09-15Minor indenting changesMukund Sivaraman1-5/+10
2009-09-15Exit with proper status in case of bad commandline argumentsMukund Sivaraman1-1/+4
2009-09-15Add doc for change_user()Mukund Sivaraman1-0/+8
2009-09-15Return correct error status when setuid() or setgid() failsMukund Sivaraman1-2/+2
2009-09-15Extract setuid/setgid code into a functionMukund Sivaraman1-53/+62
2009-09-15Extract cmdline parsing code into a functionMukund Sivaraman2-22/+38
2009-09-14filter: untangle assignment and check in filter_init().Michael Adam1-2/+2
Michael
2009-09-14conffile: reformat the directives array for readability.Michael Adam1-52/+56
Michael
2009-09-15Remove unused variableMukund Sivaraman1-1/+0
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman34-5224/+4733
The modified files were indented with GNU indent using the following command: indent -npro -kr -i8 -ts8 -sob -l80 -ss -cs -cp1 -bs -nlps -nprs -pcs \ -saf -sai -saw -sc -cdw -ce -nut -il0 No other changes of any sort were made.
2009-09-15Remove C++ wrapper from headersMukund Sivaraman2-18/+0
These are not necessary as Tinyproxy is pure C code, and only to be used within Tinyproxy. It is not a library.
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-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
2009-08-07log: make const char array const.Michael Adam1-1/+1
Michael
2009-08-07http_message_add_headers: make argument num_headers unsignedMichael Adam2-5/+4
and remove signed vs. unsigned comparison warnings. Michael