summaryrefslogtreecommitdiff
path: root/src/thread.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2002-05-23Changed the header includes around to reflect the new source layout.Robert James Kaes1-1/+2
2002-04-28Added extra logging information, and made sure that locks were beingRobert James Kaes1-22/+33
2002-04-28Clear the total array of threads before any of the threads are created.Robert James Kaes1-2/+2
2002-04-28Fixed up the error detection code when relating the pthread functions.Robert James Kaes1-21/+27
2002-04-22Renamed the LOCKing macros and added assert debugging code. Also, movedRobert James Kaes1-23/+40
2002-04-18Moved the log rotation code out of the signal handler and into it's ownRobert James Kaes1-1/+7
2002-04-17Removed the close(connfd) call since the socket has already been closedRobert James Kaes1-9/+32
2002-04-09Added the cancelation setting to make sure the thread stops immediately.Robert James Kaes1-1/+4
2002-04-08Just moved the looping code from main() into thread_main_loop().Robert James Kaes1-16/+25
2002-01-25Added code to check for "errors" from the accept call in thread_main() andRobert James Kaes1-1/+23
2002-01-08Added code which checks to see if the user has signalled that tinyproxyRobert James Kaes1-8/+13
2001-12-28Check for errors returned by the accept() function.Robert James Kaes1-1/+10
2001-11-22Reformated text.Robert James Kaes1-20/+39
2001-10-24Error message cleanup to make the information more informative.Robert James Kaes1-4/+4
2001-09-15Removed the memory allocation log messages.Robert James Kaes1-4/+2
2001-09-11Set the stack size of threads to 32KB from 128KB.Robert James Kaes1-2/+2
2001-09-08Changed all the mallocs and callocs to use the new safemalloc andRobert James Kaes1-3/+4
2001-09-08Fixed a memory leak in thread_main().Robert James Kaes1-3/+17
2001-09-07Explictly added the DETACHED creation method on threads.Robert James Kaes1-2/+5
2001-09-07Error message cleanup.Robert James Kaes1-19/+29
2001-09-06Try moving the kill thread code into the thread_main() function so it canRobert James Kaes1-19/+13
2001-09-06Initialzed the servers_waiting explictly. Added debugging code to find outRobert James Kaes1-3/+8
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
2001-08-26Fixed a problem where child threads would not be closed if they had beenRobert James Kaes1-7/+8
2001-05-27Changed the thread_main() function to only deal with the connections perRobert James Kaes1-18/+20
2001-05-23Fixed a potential problem with not zeroing the number of connections whenRobert James Kaes1-2/+12
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
2000-09-12tinyproxy now uses a pool of threads to handle connections. All the workRobert James Kaes1-0/+214