| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-35017, socketserver: don't accept request after shutdown (GH-9952) | Miss Islington (bot) | 2018-10-26 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | Prior to this revision, after the shutdown of a `BaseServer`, the server accepted a last single request if it was sent between the server socket polling and the polling timeout. This can be problematic for instance for a server restart for which you do not want to interrupt the service, by not closing the listening socket during the restart. One request failed because of this behavior. Note that only one request failed, following requests were not accepted, as expected. (cherry picked from commit 10cb3760e8631a27f5db1e51b05494e29306c671) Co-authored-by: Denis Ledoux <be.ledoux.denis@gmail.com> | ||||
| * | bpo-33540, socketserver: Add _block_on_close for tests (GH-7317) | Victor Stinner | 2018-06-01 | 1 | -2/+27 |
| | | | | | | * Add a private _block_on_close attribute to ForkingMixIn and ThreadingMixIn classes of socketserver. * Use _block_on_close=True in test_socketserver and test_logging | ||||
| * | Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBase | Martin Panter | 2016-06-29 | 1 | -1/+23 |
| | | |||||
| * | Reindent properly. | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-06-03 | 1 | -76/+74 |
| | | |||||
| * | Issue #25931: Don't defining socketserver.Forking* names on platforms such | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-06-03 | 1 | -6/+11 |
| | | | | | as Windows that do not support os.fork(). | ||||
| * | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| |\ | | | | | | | messages. | ||||
| | * | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #26404: Add context manager to socketserver, by Aviv Palivoda | Martin Panter | 2016-04-13 | 1 | -0/+6 |
| | | | |||||
| * | | Issue #5824: Merge socketserver tests from 3.5 | Martin Panter | 2016-02-24 | 1 | -8/+0 |
| |\ \ | |/ | |||||
| | * | Issue #5824: Fix DatagramRequestHandler tests by binding the client socket | Martin Panter | 2016-02-24 | 1 | -8/+0 |
| | | | |||||
| * | | Issue #23430: Stop socketserver from catching SystemExit etc from handlers | Martin Panter | 2016-02-21 | 1 | -13/+18 |
| |/ | | | | | Also make handle_error() consistently output to stderr, and fix the documentation. | ||||
| * | Issue #26309: Shut down socketserver request if verify_request() is false | Martin Panter | 2016-02-18 | 1 | -0/+2 |
| | | | | | Patch by Aviv Palivoda. | ||||
| * | Issues #26310, #26311: Fix typos in the documentation and code comments | Martin Panter | 2016-02-10 | 1 | -1/+1 |
| | | |||||
| * | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -2/+0 |
| | | |||||
| * | Issue #23358: Add missing BaseServer entry to socketserver.__all__. | Berker Peksag | 2015-02-03 | 1 | -4/+4 |
| |\ | | | | | | | Patch by Martin Panter. | ||||
| | * | Issue #23358: Add missing BaseServer entry to socketserver.__all__. | Berker Peksag | 2015-02-03 | 1 | -4/+4 |
| | | | | | | | | | Patch by Martin Panter. | ||||
| * | | Issue #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -1/+1 |
| |\ \ | |/ | | | | | Patch by Févry Thibault. | ||||
| * | | Issue #22435: Fix a file descriptor leak when SocketServer bind fails. | Charles-François Natali | 2014-10-13 | 1 | -2/+6 |
| |\ \ | |/ | |||||
| | * | Issue #22435: Fix a file descriptor leak when SocketServer bind fails. | Charles-François Natali | 2014-10-13 | 1 | -2/+6 |
| | | | |||||
| | * | Issue #21491: socketserver: Fix a race condition in child processes reaping. | Charles-François Natali | 2014-06-20 | 1 | -26/+30 |
| | | | |||||
| * | | Issue #22043: time.monotonic() is now always available | Victor Stinner | 2014-09-02 | 1 | -4/+1 |
| | | | | | | | | | | | threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used. | ||||
| * | | Issue #21491: socketserver: Fix a race condition in child processes reaping. | Charles-François Natali | 2014-06-20 | 1 | -26/+30 |
| | | | |||||
| * | | Issue #21040: socketserver: Use the selectors module. | Charles-François Natali | 2014-03-24 | 1 | -41/+57 |
| |/ | |||||
| * | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
| | | |||||
| * | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
| * | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | ModuleNotFoundError. | ||||
| * | Merge with 3.3 | Kristján Valur Jónsson | 2012-12-26 | 1 | -1/+6 |
| |\ | | | | | | | Issue #14574: Ignore socket errors raised when flushing a connection on close. | ||||
| | * | Merge with 3.2 : | Kristján Valur Jónsson | 2012-12-26 | 1 | -1/+6 |
| | |\ | | | | | | | | | | Issue #14574: Ignore socket errors raised when flushing a connection on close. | ||||
| | | * | Issue #14574: Ignore socket errors raised when flushing a connection on close. | Kristján Valur Jónsson | 2012-12-25 | 1 | -1/+6 |
| | | | | |||||
| | | * | Fix the patch for issue #7978: select() raises select.error before 3.3, not ↵ | Antoine Pitrou | 2012-04-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | OSError. | ||||
| * | | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| | | | | |||||
| * | | | Issue #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| |/ / | |||||
| * | | #11109: clean up docs, add whatsnew entry, and fix Justin's last name. | R David Murray | 2012-10-02 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #7978: socketserver now restarts the select() call when EINTR is returned. | Antoine Pitrou | 2012-04-08 | 1 | -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 Pitrou | 2012-04-08 | 1 | -2/+13 |
| | | | | | | | | | | | This avoids crashing the server loop when a signal is received. Patch by Jerzy Kozera. | ||||
| * | | Merge 3.2: issue #13140 | Florent Xicluna | 2011-11-04 | 1 | -2/+1 |
| |\ \ | |/ | |||||
| | * | Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn. | Florent Xicluna | 2011-11-04 | 1 | -2/+1 |
| | | | |||||
| * | | #13289: merge with 3.2. | Ezio Melotti | 2011-10-29 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | #13289: fix typo. | Ezio Melotti | 2011-10-29 | 1 | -1/+1 |
| | | | |||||
| * | | Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also ↵ | Senthil Kumaran | 2011-05-25 | 1 | -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.1 | Benjamin Peterson | 2011-05-24 | 1 | -2/+0 |
| |\ | |||||
| | * | backout 8b384de4e780, so a proper fix can be considered (#5715) | Benjamin Peterson | 2011-05-24 | 1 | -2/+0 |
| | | | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-05-24 | 1 | -1/+2 |
| |\ \ | |/ | |||||
| | * | generally, sockets should be closed after they're used | Benjamin Peterson | 2011-05-24 | 1 | -1/+2 |
| | | | |||||
| * | | Issue #5715: In socketserver, close the server socket in the child process. | Charles-François Natali | 2011-05-24 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Issue #5715: In socketserver, close the server socket in the child process. | Charles-François Natali | 2011-05-24 | 1 | -1/+1 |
| | | | |||||
| * | | #11515: Merge with 3.1. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Merged revisions 80487,80489 via svnmerge from | Antoine Pitrou | 2010-04-25 | 1 | -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 from | Antoine Pitrou | 2010-04-25 | 1 | -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/issue6382 | Kristján Valur Jónsson | 2009-07-07 | 1 | -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. | ||||
