summaryrefslogtreecommitdiffhomepage
path: root/src/thread.c
AgeCommit message (Collapse)Author
2001-11-22Reformated text.Robert James Kaes
2001-10-24Error message cleanup to make the information more informative.Robert James Kaes
2001-09-15Removed the memory allocation log messages.Robert James Kaes
2001-09-11Set the stack size of threads to 32KB from 128KB.Robert James Kaes
2001-09-08Changed all the mallocs and callocs to use the new safemalloc andRobert James Kaes
safecalloc.
2001-09-08Fixed a memory leak in thread_main().Robert James Kaes
2001-09-07Explictly added the DETACHED creation method on threads.Robert James Kaes
2001-09-07Error message cleanup.Robert James Kaes
Include locking around access to the servers_waiting variable.
2001-09-06Try moving the kill thread code into the thread_main() function so it canRobert James Kaes
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 Kaes
why the threads are not being closed.
2001-08-28Changed the default stack size to 128 KB.Robert James Kaes
2001-08-27Changed the default stack size since some OS's have a stack size which isRobert James Kaes
too small.
2001-08-26Fixed a problem where child threads would not be closed if they had beenRobert James Kaes
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 Kaes
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 Kaes
the threads are emptied.
2000-12-09Implimented the MaxRequestsPerChild directive.Robert James Kaes
2000-12-08Fixed a problem with polling for the number of active threads. No longerRobert James Kaes
polls. :)
2000-09-12tinyproxy now uses a pool of threads to handle connections. All the workRobert James Kaes
for creating new threads, deleting old thread, and generally managing the pool is done here.