summaryrefslogtreecommitdiff
path: root/src/thread.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2001-09-06Try moving the kill thread code into the thread_main() function so it canRobert James Kaes1-19/+13
check if there are too many thread after it's finished with it's request. Needs to be cleaned up further (if this is the right idea) because of the locking around the servers_waiting variable.
2001-09-06Initialzed the servers_waiting explictly. Added debugging code to find outRobert James Kaes1-3/+8
why the threads are not being closed.
2001-08-28Changed the default stack size to 128 KB.Robert James Kaes1-2/+8
2001-08-27Changed the default stack size since some OS's have a stack size which isRobert James Kaes1-3/+13
too small.
2001-08-26Fixed a problem where child threads would not be closed if they had beenRobert James Kaes1-7/+8
created after the initial creation. Also fixed a problem where the status of the threads were not going back to T_WAITING if MaxRequestsPerChild was 0.
2001-05-27Changed the thread_main() function to only deal with the connections perRobert James Kaes1-18/+20
thread if the user has actually requested it. Also changed some of the data types for the variables.
2001-05-23Fixed a potential problem with not zeroing the number of connections whenRobert James Kaes1-2/+12
the threads are emptied.
2000-12-09Implimented the MaxRequestsPerChild directive.Robert James Kaes1-15/+34
2000-12-08Fixed a problem with polling for the number of active threads. No longerRobert James Kaes1-41/+23
polls. :)
2000-09-12tinyproxy now uses a pool of threads to handle connections. All the workRobert James Kaes1-0/+214
for creating new threads, deleting old thread, and generally managing the pool is done here.