Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add class variable allow_reuse_address in TCPServer -- if nonzero, the | Guido van Rossum | 2000-05-09 | 1 | -0/+5 |
| | | | | server_bind() method calls setsockopt(SOL_SOCKET, SO_REUSEADDR, 1). | ||||
* | update to use threading module instead of thread. | Jeremy Hylton | 1999-10-12 | 1 | -4/+4 |
| | |||||
* | Another patch from Andy Dustman: | Guido van Rossum | 1999-07-28 | 1 | -1/+8 |
| | | | | | | | | | | | | | | """ 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.) | ||||
* | In collect_children(), put a try-except around os.waitpid() because it | Guido van Rossum | 1999-06-17 | 1 | -1/+4 |
| | | | | | may raise an exception (when there are no children). Reported by Andy Dustman. | ||||
* | Laurence Tratt notes that the accept() call in get_request() can fail, | Guido van Rossum | 1999-06-15 | 1 | -1/+4 |
| | | | | | and suggests putting a try/except around the get_request() call in handle_request(). (All in class TCPServer.) | ||||
* | Andy Dustman notes that I patched the close() call in the wrong place. | Guido van Rossum | 1999-06-01 | 1 | -1/+1 |
| | | | | Here's the correct patch! | ||||
* | Andy Dustman writes: | Guido van Rossum | 1999-05-21 | 1 | -0/+1 |
| | | | | | | | | | I noticed while watching (with lsof) my forking SocketServer app running that I would get multiple processes listening to the socket. For the most part, this doesn't hurt things, but if you terminate the server, this can prevent it from restarting because it cannot bind to the port due to any running children which also have the socket open. The following one-liner fixes this. | ||||
* | Patch by Jeff Bauer: a minor change to declare two new | Guido van Rossum | 1998-11-30 | 1 | -12/+11 |
| | | | | | | | | threaded versions of Unix Server classes, using the ThreadingMixIn class: ThreadingUnixStreamServer ThreadingUnixDatagramServer | ||||
* | Fix typo in docstring: client_request should be client_address. | Guido van Rossum | 1998-11-16 | 1 | -1/+1 |
| | | | | Noted by Stefan Witzel. | ||||
* | Fixed the UDP server -- this never worked. Ray Loyzaga deserves | Guido van Rossum | 1998-06-16 | 1 | -2/+7 |
| | | | | credit for complaining about this and for testing these changes. | ||||
* | Explicitly close rfile and wfile in StreamRequestHandler.finish() -- | Guido van Rossum | 1998-04-03 | 1 | -0/+2 |
| | | | | mostly for jpython. | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -128/+128 |
| | |||||
* | No longer need to be very careful with saving the exception state | Guido van Rossum | 1997-09-29 | 1 | -2/+1 |
| | | | | | first. Don't store the traceback as a local variable, to avoid circular references. | ||||
* | Fix bug found by kjpylint; change doc string to avoid "(" in column 1. | Guido van Rossum | 1997-07-16 | 1 | -5/+5 |
| | |||||
* | Make self.rfile unbuffered (self.wfile already is). This should fix | Guido van Rossum | 1996-10-23 | 1 | -1/+1 |
| | | | | CGIHTTPServer.py when used with the POST command. | ||||
* | Changed makefile() args from r/w to rb/wb, for non-unix compatability. | Jack Jansen | 1996-02-14 | 1 | -2/+2 |
| | |||||
* | correct retrieving return value of os.waitpid() | Guido van Rossum | 1996-01-25 | 1 | -1/+1 |
| | |||||
* | Initial revision | Guido van Rossum | 1995-08-04 | 1 | -0/+413 |