summaryrefslogtreecommitdiffstats
path: root/Lib/socketserver.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7978: socketserver now restarts the select() call when EINTR is returned.Antoine Pitrou2012-04-081-2/+13
|\ | | | | | | | | This avoids crashing the server loop when a signal is received. Patch by Jerzy Kozera.
| * Issue #7978: socketserver now restarts the select() call when EINTR is returned.Antoine Pitrou2012-04-081-2/+13
| | | | | | | | | | This avoids crashing the server loop when a signal is received. Patch by Jerzy Kozera.
* | Merge 3.2: issue #13140Florent Xicluna2011-11-041-2/+1
|\ \ | |/
| * Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn.Florent Xicluna2011-11-041-2/+1
| |
* | #13289: merge with 3.2.Ezio Melotti2011-10-291-1/+1
|\ \ | |/
| * #13289: fix typo.Ezio Melotti2011-10-291-1/+1
| |
* | Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also ↵Senthil Kumaran2011-05-251-2/+20
|/ | | | | | | | | fails to reap all zombies in one pass. A new method called service_action is made available in BaseServer, called by serve_forever loop. This useful in cases where Mixins can use it for cleanup action. ForkingMixin class uses service_action to collect the zombie child processes. Initial Patch by Justin Wark.
* merge 3.1Benjamin Peterson2011-05-241-2/+0
|\
| * backout 8b384de4e780, so a proper fix can be considered (#5715)Benjamin Peterson2011-05-241-2/+0
| |
* | merge 3.1Benjamin Peterson2011-05-241-1/+2
|\ \ | |/
| * generally, sockets should be closed after they're usedBenjamin Peterson2011-05-241-1/+2
| |
* | Issue #5715: In socketserver, close the server socket in the child process.Charles-François Natali2011-05-241-1/+1
|\ \ | |/
| * Issue #5715: In socketserver, close the server socket in the child process.Charles-François Natali2011-05-241-1/+1
| |
* | #11515: Merge with 3.1.Ezio Melotti2011-03-151-1/+1
|\ \ | |/
| * Merged revisions 80487,80489 via svnmerge fromAntoine Pitrou2010-04-251-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80487 | antoine.pitrou | 2010-04-26 00:01:43 +0200 (lun., 26 avril 2010) | 12 lines Merged revisions 80484 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80484 | antoine.pitrou | 2010-04-25 23:40:32 +0200 (dim., 25 avril 2010) | 6 lines Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown, where the method could block indefinitely if called just before the event loop started running. This also fixes the occasional freezes witnessed in test_httpservers. ........ ................ r80489 | antoine.pitrou | 2010-04-26 00:19:43 +0200 (lun., 26 avril 2010) | 9 lines Merged revisions 80480 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80480 | antoine.pitrou | 2010-04-25 23:15:50 +0200 (dim., 25 avril 2010) | 3 lines Replace a Lock with a better suited Event. ........ ................
* | Merged revisions 80484 via svnmerge fromAntoine Pitrou2010-04-251-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80484 | antoine.pitrou | 2010-04-25 23:40:32 +0200 (dim., 25 avril 2010) | 6 lines Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown, where the method could block indefinitely if called just before the event loop started running. This also fixes the occasional freezes witnessed in test_httpservers. ........
* | http://bugs.python.org/issue6382Kristján Valur Jónsson2009-07-071-6/+22
| | | | | | | | added the shutdown_request() which can perform shutdown before calling close. This is needed for the ForkingMixIn because different close semantics are required for child and parent process. shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request(). Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
* | http://bugs.python.org/issue6381Kristján Valur Jónsson2009-07-041-1/+6
| | | | | | | | merging revision 73819 from trunk
* | Revert last change, which was incorrect.Kristján Valur Jónsson2009-07-041-6/+1
| |
* | http://bugs.python.org/issue6381Kristján Valur Jónsson2009-07-041-1/+6
| | | | | | | | merging revision 73819 from trunk
* | http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-011-2/+10
| | | | | | | | porting revision 73638 to py3k
* | http://bugs.python.org/issue6192Kristján Valur Jónsson2009-06-281-0/+7
|/ | | | Mergin revisions 73272 and 73546 to py3k
* Merged revisions 69803-69805,69840,69901,69905,69907,69924,69927,69987 via ↵Benjamin Peterson2009-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69803 | georg.brandl | 2009-02-20 01:48:21 -0600 (Fri, 20 Feb 2009) | 1 line #5327: fix a broken link by joining it. ........ r69804 | georg.brandl | 2009-02-20 02:22:21 -0600 (Fri, 20 Feb 2009) | 1 line At least separate imports from other statements. ........ r69805 | georg.brandl | 2009-02-20 02:45:47 -0600 (Fri, 20 Feb 2009) | 2 lines Fix punctuation. ........ r69840 | georg.brandl | 2009-02-21 13:09:40 -0600 (Sat, 21 Feb 2009) | 1 line #5338, #5339: two types in the API manual. ........ r69901 | georg.brandl | 2009-02-23 05:24:46 -0600 (Mon, 23 Feb 2009) | 2 lines #5349: C++ pure virtuals can also have an implementation. ........ r69905 | georg.brandl | 2009-02-23 09:51:27 -0600 (Mon, 23 Feb 2009) | 2 lines #5352: str.count() counts non-overlapping instances. ........ r69907 | georg.brandl | 2009-02-23 12:33:48 -0600 (Mon, 23 Feb 2009) | 1 line Fix grammar. ........ r69924 | benjamin.peterson | 2009-02-23 20:45:35 -0600 (Mon, 23 Feb 2009) | 1 line update README on running tests ........ r69927 | neil.schemenauer | 2009-02-23 22:23:25 -0600 (Mon, 23 Feb 2009) | 1 line Fix call to os.waitpid, it does not take keyword args. ........ r69987 | benjamin.peterson | 2009-02-25 18:30:11 -0600 (Wed, 25 Feb 2009) | 1 line fix str.format()'s first arg #5371 ........
* kill another set_daemon instanceBenjamin Peterson2008-09-201-1/+1
|
* fix more threading API related bugsBenjamin Peterson2008-06-131-1/+1
|
* Renamed the SocketServer module to 'socketserver'.Alexandre Vassalotti2008-05-121-0/+675
Merged revisions 63132 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63132 | alexandre.vassalotti | 2008-05-11 22:11:22 -0400 (Sun, 11 May 2008) | 4 lines Updated all import statements to use the new socketserver module name. Renamed socketserver module in its own documentation. Renamed documentation references. ........