Mukund Sivaraman
5ad24ba99d
Update URLs of Tinyproxy
2011-02-28 12:36:05 +05:30
Mukund Sivaraman
34088e2175
Revert "Update Tinyproxy website URLs"
...
This reverts commit b108162dfb
.
2010-03-28 10:27:40 +05:30
Mukund Sivaraman
b108162dfb
Update Tinyproxy website URLs
2010-03-27 08:22:51 +05:30
Mukund Sivaraman
9434b27cc1
Remove bogus static qualifiers for these auto variables
2010-01-25 23:40:03 +05:30
Mukund Sivaraman
bf820013df
Use HTTPS link in URLs to Tinyproxy websites
2010-01-16 10:22:22 +05:30
Michael Adam
7290691142
Move definition of "struct config_s" from main.h to conf.h
...
Michael
2009-12-07 22:33:27 +01:00
Mukund Sivaraman
323a4d0147
Clean up html_send_file ()
...
- Make function return from one place
- Move inbuf to the heap
2009-10-02 13:01:32 +05:30
Mukund Sivaraman
7b9234f394
Indent code to Tinyproxy coding style
...
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-15 01:11:25 +05:30
Michael Adam
02e7bc7545
send_html_file(): remove a discards qualifyer warning
...
and untangle assignment from check.
Michael
2009-08-07 08:56:46 +02:00
Michael Adam
3adec81872
html-error: make read only argument const in lookup_variable().
...
Michael
2009-08-07 08:53:26 +02:00
Michael Adam
76dadf47d3
make a const string const in send_http_error_message().
...
Michael
2009-08-07 08:51:35 +02:00
Michael Adam
1c3c268b50
make a const string const in send_http_headers().
...
Michael
2009-08-07 08:49:21 +02:00
Michael Adam
c8ee85702e
make message argument of indicate_http_error() const.
...
Michael
2009-08-07 08:48:51 +02:00
Michael Adam
20b606b6f5
make message argument to send_http_headers() constant.
...
Michael
2009-08-07 08:44:47 +02:00
Michael Adam
251a975126
add_error_variable(): make key and data arguments const
...
Michael
2009-08-07 08:41:36 +02:00
Mukund Sivaraman
a21cd7e3ed
Rename tinyproxy.[ch] to main.[ch]
2009-08-07 03:42:53 +05:30
Mukund Sivaraman
024b317de0
Convert tabs to spaces
2008-12-08 13:39:44 +00:00
Mukund Sivaraman
6e6f992f8c
Update Tinyproxy website URL
2008-12-08 12:41:44 +00:00
Mukund Sivaraman
4c1ede779e
Break at 80 columns
2008-12-08 12:26:08 +00:00
Mukund Sivaraman
a257703e59
Reformat code to GNU coding style
...
This is a commit which simply ran all C source code files
through GNU indent. No other modifications were made.
2008-12-01 15:01:11 +00:00
Mukund Sivaraman
7e5ac7c58a
Fix a regression where empty error variables caused strlen() to crash
...
This fixes a regression (bug #16 ) introduced in
95c1f39f60
, where a NULL check was
removed. This caused NULL error variable values to be sent to
add_error_variable() in which strlen() segfaulted.
With this fix, custom stats pages should be displayed properly.
X-Banu-Bugzilla-Ids: 16
2008-07-14 17:13:06 +05:30
Mukund Sivaraman
7bdd47d030
Make the embedded error message display valid XHTML too
...
Also fix the information that is displayed.
2008-07-14 15:47:00 +05:30
Mukund Sivaraman
7f12f71f94
Add error number as a template parameter for error pages
2008-07-14 15:31:14 +05:30
Mukund Sivaraman
74f5c3e417
Spruce up error page footers a bit
2008-07-14 15:02:41 +05:30
Mukund Sivaraman
95c1f39f60
Don't check the value to be inserted as it's already checked
...
This change primarily avoids a gcc warning where timebuf
is never non-NULL. There is no need to check the value to be
inserted as it's checked inside hashmap_insert().
This changeset also lets error return values from hashmap_insert()
propogate instead of clamping them to -1 (not that these are
currently used anyway).
2008-06-10 09:51:23 +05:30
Mukund Sivaraman
b0a3568de0
Renamed htmlerror.[ch] to html-error.[ch]
2008-05-24 13:47:14 +05:30