Staging
v0.5.1
https://github.com/python/cpython
Revision 6dc482cf9cda915cd4a3e04af752e82fd009a7da authored by Thomas Wouters on 11 July 2001, 12:05:49 UTC, committed by Thomas Wouters on 11 July 2001, 12:05:49 UTC
Fix various serious problems:

- The ThreadingTCPServer class and its derived classes were completely
  broken because the main thread would close the request before the
  handler thread had time to look at it.  This was introduced by
  Ping's close_request() patch.  The fix moves the close_request()
  calls to after the handler has run to completion in the BaseServer
  class and the ForkingMixIn class; when using the ThreadingMixIn,
  closing the request is the handler's responsibility.

- The ForkingUDPServer class has always been been broken because the
  socket was closed in the child before calling the handler.  I fixed
  this by simply not calling server_close() in the child at all.

- I cannot get the UnixDatagramServer class to work at all.  The
  recvfrom() call doesn't return a meaningful client address.  I added
  a comment to this effect.  Maybe it works on other Unix versions.

- The __all__ variable was missing ThreadingMixIn and ForkingMixIn.

- Bumped __version__ to "0.4".

- Added a note about the test suite (to be checked in shortly).
1 parent d4a75dc
History
Tip revision: 6dc482cf9cda915cd4a3e04af752e82fd009a7da authored by Thomas Wouters on 11 July 2001, 12:05:49 UTC
Backport of Guido's checkin 1.25:
Tip revision: 6dc482c
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.1 KB
LICENSE -rw-r--r-- 11.5 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.6 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.6 KB
configure -rwxr-xr-x 177.3 KB
configure.in -rw-r--r-- 36.3 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 25.0 KB

README

back to top