summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2009-08-07Wrap len in paranthesesMukund Sivaraman
2009-08-07correctly handle folded header fieldsMatthew Dempsky
2009-08-07Fix const warningMukund Sivaraman
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman
2009-08-06fix error message formattingMatthew Dempsky
Signed-off-by: Michael Adam <obnox@samba.org>
2009-08-05add const to the key argument of anonymous_insert().Michael Adam
Michael
2009-08-05add const to the key argument for anonymous_search().Michael Adam
Michael
2009-08-05utils: make headers constant in send_http_message() to reduce compiler warningsMichael Adam
Michael
2009-08-05http_message_add_headers(): make parameter headers const.Michael Adam
Michael
2009-08-04filter_init(): kill implicit cast warnings by adding explicit casts.Michael Adam
Michael
2009-08-04vector: remove implicit cast warning in vector_insert() by adding explicit castMichael Adam
Michael
2009-08-04vector: remove implicit cast warning in vector_create()Michael Adam
Michael
2009-08-04child_pool_create(): add to explicit cats to reduce compiler warnings.Michael Adam
Michael
2009-08-04child: adapt child_config to contain unsigned integersMichael Adam
as just changed in get_int_arg. Michael
2009-08-04conffile: change [sg]et_int_arg() to return unsigned long intMichael Adam
This is also the parser regexp for INT in the definition. Michael
2009-08-04conffile: add explicit cast in get_string_arg().Michael Adam
Michael
2009-08-04config_compile(): add an explicit cast.Michael Adam
Michael
2009-08-04config_compile(): fix as signed / unsigned comparison compiler warning.Michael Adam
Michael
2009-08-04conffile: fix indentation in the directives definition.Michael Adam
Michael
2009-08-04conffile: fix some missing initializer warnings in the directives definition.Michael Adam
Michael
2009-08-04conffile: reformat some indentation and linebreak in the directives definition.Michael Adam
Michael
2009-08-04child: add explicit cast in child_main().Michael Adam
Michael
2009-08-04buffer: add explicit cast in read_buffer().Michael Adam
Michael
2009-08-04buffer: add explicit cast in new_buffer().Michael Adam
Michael
2009-08-04buffer: untangle assignment and check.Michael Adam
Michael
2009-08-04buffer: add two explicit casts to reduce compiler warnings in makenewline().Michael Adam
Michael
2009-08-04buffer: untangle assignment from check in makenewline().Michael Adam
For better debuggability. Michael
2009-08-04check_acl(): initialize "perm" to eliminate compiler warning.Michael Adam
Provides safe fallback for switch statement, just in case.. Michael
2009-08-04check_acl(): remove the fd argument - it is not used.Michael Adam
Host name and IP address are provided instead. Michael
2009-08-04check_acl(): fix function header comment.Michael Adam
Michael
2009-08-04check_acl(): add explicit cast to return value of vector_getentry()Michael Adam
to reduce compiler warnings. Michael
2009-08-04check_acl(): add cast to recuce compiler warning (unsigned / signed comparison)Michael Adam
vector_lenth() returns < 0 if the vectore is NULL but this has been checked before, so we can safely cast. Michael
2009-08-04change vector_prepend() to take size_t len instead of ssize_t len argument.Michael Adam
Michael
2009-08-04change vector_append() to take size_t len instead of ssize_t len argumentMichael Adam
Michael
2009-08-04vector: change vectore_insert() to take size_t len instead of ssize_t len argMichael Adam
Michael
2009-08-04remove "discard const" compiler warnings with log_message().Michael Adam
Michael
2008-12-29Indenting changeMukund Sivaraman
2008-12-08Convert tabs to spacesMukund Sivaraman
2008-12-08Update Tinyproxy website URLMukund Sivaraman
2008-12-08Break at 80 columnsMukund Sivaraman
2008-12-01Reformat code to GNU coding styleMukund Sivaraman
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made.
2008-12-01Don't disable the creation of core filesMukund Sivaraman
Creation of core files can be disabled in the OS environment such as by using the ulimit program.
2008-08-24Add more calls to umask() before mkstemp()Mukund Sivaraman
2008-08-24Move buffer to the heap due to its sizeMukund Sivaraman
2008-08-24Set umask before mkstemp() for some versions of glibcMukund Sivaraman
2008-08-24pos can never be less than 0 as it's of type size_tMukund Sivaraman
Also fix the type which is passed in from various places.
2008-08-24Remove useless check as data can't be NULL at this pointMukund Sivaraman
2008-07-14Allow numeric uid/gids in User and Group directivesMukund Sivaraman
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-14Fix error variable names that stats.html expectsMukund Sivaraman
2008-07-14Fix a regression where empty error variables caused strlen() to crashMukund Sivaraman
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