Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2003-07-31 | Added appropriate casts (void*) casts to allow the code to compile | Robert James Kaes | 1 | -9/+12 | |
cleanly using a C++ compiler. Changed the servers_waiting variable to an unsigned int, since the number of servers waiting can never be negative, and added an assert() to ensure this invariant. | |||||
2003-05-31 | # Changed all the for calls to use the != test rather than < test. | Robert James Kaes | 1 | -5/+5 | |
The change was recommended in the C/C++ User Journal magazine. | |||||
2003-04-16 | # Changed it again to this time use the TINYPROXY_DEBUG environment | Robert James Kaes | 1 | -7/+13 | |
variable to determine whether to wait for a connection from GDB. | |||||
2003-04-16 | # The programmer is now made to _explicitly_ enable the GDB support in | Robert James Kaes | 1 | -2/+3 | |
the child handling function. | |||||
2003-03-13 | # (child_main): If this is a debugging build output the child process | Robert James Kaes | 1 | -2/+7 | |
ID and wait for 10 seconds so we have time to connect gdb to the child. This is needed if we want to use gdb against the child process. | |||||
2002-11-21 | (child_main): Cleaned up the notice string to be more clear why a | Robert James Kaes | 1 | -6/+4 | |
child is being closed. | |||||
2002-10-03 | (child_main): Check to make sure memory could be allocated to handle | Robert James Kaes | 1 | -2/+7 | |
the child request. (child_main_loop): Added a call to truncate_log_file() when the log file is to be rotated. | |||||
2002-06-27 | (child_make): Reset the various signals to the default signal handler so ↵ | Robert James Kaes | 1 | -1/+9 | |
that the children can be properly destroyed. | |||||
2002-06-15 | (child_main_loop): Moved the filter re-initiation code into the loop. This ↵ | Robert James Kaes | 1 | -4/+12 | |
code is activated whenever the SIGHUP signal is received. | |||||
2002-06-05 | (child_main): Added a DEBUG call to let me know which process has accepted a ↵ | Robert James Kaes | 1 | -1/+3 | |
connection. This is needed for debugging using "gdb". | |||||
2002-05-29 | Changed the tests on the return value from malloc_shared_memory() to make ↵ | Robert James Kaes | 1 | -3/+3 | |
tinyproxy more portable, since we can't be certain that "if (!ret_value)" would actually detect a mmap() error. | |||||
2002-05-26 | Changed from using a threading model to a standard pre-forked model. | Robert James Kaes | 1 | -0/+405 | |
Therefore the thread.c file has been removed and this file replaces it. These files are really just the thread.c and thread.h files with all the threading stuff replaced with fork() code. Most of the code is identical. |