• Guido van Rossum's avatar
    Another patch from Andy Dustman: · 2ab455a8
    Guido van Rossum yazdı
    """
    Here's a patch for the ForkingMixIn which will prevent the server from
    forking itself into the ground. Note: I've tested a very similar patch
    (subclassed ForkingMixIn) but not actually tested this one. As you might
    surmise, this was done out of necessity...
    
    If the maximum number of children are already running, block while waiting
    for a child to exit.
    """
    
    (I added that last sentence as a comment to the code --GvR.)
    2ab455a8
SocketServer.py 13.5 KB