Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-04 | buffer: add explicit cast in read_buffer(). | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-08-04 | buffer: add explicit cast in new_buffer(). | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-08-04 | buffer: untangle assignment and check. | Michael Adam | 1 | -1/+2 | |
Michael | |||||
2009-08-04 | buffer: add two explicit casts to reduce compiler warnings in makenewline(). | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-08-04 | buffer: untangle assignment from check in makenewline(). | Michael Adam | 1 | -2/+4 | |
For better debuggability. Michael | |||||
2009-08-04 | check_acl(): initialize "perm" to eliminate compiler warning. | Michael Adam | 1 | -1/+1 | |
Provides safe fallback for switch statement, just in case.. Michael | |||||
2009-08-04 | check_acl(): remove the fd argument - it is not used. | Michael Adam | 3 | -5/+3 | |
Host name and IP address are provided instead. Michael | |||||
2009-08-04 | check_acl(): fix function header comment. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-08-04 | check_acl(): add explicit cast to return value of vector_getentry() | Michael Adam | 1 | -1/+1 | |
to reduce compiler warnings. Michael | |||||
2009-08-04 | check_acl(): add cast to recuce compiler warning (unsigned / signed comparison) | Michael Adam | 1 | -1/+1 | |
vector_lenth() returns < 0 if the vectore is NULL but this has been checked before, so we can safely cast. Michael | |||||
2009-08-04 | change vector_prepend() to take size_t len instead of ssize_t len argument. | Michael Adam | 2 | -2/+2 | |
Michael | |||||
2009-08-04 | change vector_append() to take size_t len instead of ssize_t len argument | Michael Adam | 2 | -2/+2 | |
Michael | |||||
2009-08-04 | vector: change vectore_insert() to take size_t len instead of ssize_t len arg | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-08-04 | remove "discard const" compiler warnings with log_message(). | Michael Adam | 2 | -2/+2 | |
Michael | |||||
2008-12-29 | Indenting change | Mukund Sivaraman | 1 | -1/+4 | |
2008-12-08 | Convert tabs to spaces | Mukund Sivaraman | 37 | -1274/+1262 | |
2008-12-08 | Update Tinyproxy website URL | Mukund Sivaraman | 1 | -1/+1 | |
2008-12-08 | Break at 80 columns | Mukund Sivaraman | 11 | -35/+69 | |
2008-12-01 | Reformat code to GNU coding style | Mukund Sivaraman | 47 | -5029/+5372 | |
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made. | |||||
2008-12-01 | Don't disable the creation of core files | Mukund Sivaraman | 1 | -12/+0 | |
Creation of core files can be disabled in the OS environment such as by using the ulimit program. | |||||
2008-08-24 | Add more calls to umask() before mkstemp() | Mukund Sivaraman | 2 | -0/+10 | |
2008-08-24 | Move buffer to the heap due to its size | Mukund Sivaraman | 1 | -7/+15 | |
2008-08-24 | Set umask before mkstemp() for some versions of glibc | Mukund Sivaraman | 2 | -1/+6 | |
2008-08-24 | pos can never be less than 0 as it's of type size_t | Mukund Sivaraman | 4 | -4/+4 | |
Also fix the type which is passed in from various places. | |||||
2008-08-24 | Remove useless check as data can't be NULL at this point | Mukund Sivaraman | 1 | -10/+6 | |
2008-07-14 | Allow numeric uid/gids in User and Group directives | Mukund Sivaraman | 3 | -23/+52 | |
This change allows numeric uid/gids to be specified in the User and Group directives in tinyproxy.conf. Formerly, only username and group names were accepted. This fixes bug #15, which was created after looking at a case on the OpenWrt wiki. X-Banu-Bugzilla-Ids: 15 | |||||
2008-07-14 | Fix error variable names that stats.html expects | Mukund Sivaraman | 1 | -2/+2 | |
2008-07-14 | Fix a regression where empty error variables caused strlen() to crash | Mukund Sivaraman | 1 | -5/+13 | |
This fixes a regression (bug #16) introduced in 95c1f39f6039dc82346f3e024e86a23b7103a0a6, 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 | Make the embedded error message display valid XHTML too | Mukund Sivaraman | 1 | -11/+18 | |
Also fix the information that is displayed. | |||||
2008-07-14 | Add version info in embedded stats page | Mukund Sivaraman | 1 | -1/+4 | |
2008-07-14 | Add error number as a template parameter for error pages | Mukund Sivaraman | 1 | -4/+10 | |
2008-07-14 | Make the embedded stats message display valid XHTML too | Mukund Sivaraman | 1 | -10/+15 | |
2008-07-14 | Spruce up error page footers a bit | Mukund Sivaraman | 1 | -0/+1 | |
2008-06-19 | Removed obsolete ignore rules | Mukund Sivaraman | 1 | -3/+0 | |
2008-06-17 | Include values.h to use LONG_MAX and LONG_MIN | Mukund Sivaraman | 1 | -0/+3 | |
2008-06-17 | Add strtol conversion error checking | Robert James Kaes | 1 | -4/+15 | |
Moved the strtol() call into fill_netmask_array() and added additional error checking to ensure that the strtol() call succeeded. Error checking code taken from strtol() manpage. Signed-off-by: Robert James Kaes <rjk@wormbytes.ca> | |||||
2008-06-17 | Refactored netmask array fill with range check | Robert James Kaes | 1 | -8/+39 | |
When building a numeric ACL with netmask, range check the supplied value. In addition, the code to walk the array has been extracted and "simplified". Signed-off-by: Robert James Kaes <rjk@wormbytes.ca> | |||||
2008-06-10 | Don't check the value to be inserted as it's already checked | Mukund Sivaraman | 1 | -6/+7 | |
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-09 | Moved transparent proxy code into its own file | Robert James Kaes | 5 | -114/+193 | |
Extracted the transparent proxy logic from reqs.c and placed it into a separate file. Signed-off-by: Robert James Kaes <rjk@wormbytes.ca> | |||||
2008-06-03 | Ignore profiling generated files | Robert James Kaes | 1 | -0/+1 | |
The *.pcno files are generated as part of the profiling code. Signed-off-by: Robert James Kaes <rjk@wormbytes.ca> | |||||
2008-05-24 | Updated copyright header in Makefile.am | Mukund Sivaraman | 1 | -12/+13 | |
2008-05-24 | Removed unnecessary LDFLAGS variable | Mukund Sivaraman | 1 | -2/+0 | |
2008-05-24 | Renamed htmlerror.[ch] to html-error.[ch] | Mukund Sivaraman | 7 | -10/+10 | |
2008-05-24 | Updated copyright, license notices in source code | Mukund Sivaraman | 45 | -604/+736 | |
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated. | |||||
2008-03-30 | Free arg before returning, or it'll leak | Mukund Sivaraman | 1 | -0/+3 | |
2008-03-30 | Free entry_buffer or it'll be leaked | Mukund Sivaraman | 1 | -0/+2 | |
vector_append() calls vector_insert() which makes a copy of the passed buffer, so the caller can free its buffer. | |||||
2008-03-30 | Fixed leaks of va_lists | Mukund Sivaraman | 1 | -6/+4 | |
2008-03-30 | Removed obsolete lexer/parser files | Mukund Sivaraman | 2 | -489/+0 | |
2008-03-19 | Added more patterns to .gitignore | Andrew Stribblehill | 1 | -0/+1 | |
2008-03-13 | Fixed format string warnings | Mukund Sivaraman | 1 | -4/+4 | |