Kaydet (Commit) 3a8f510b authored tarafından Vinay Sajip's avatar Vinay Sajip

Closes #17981: Merged fix from 3.3.

......@@ -876,6 +876,7 @@ class SysLogHandler(logging.Handler):
try:
self.socket.send(msg)
except OSError:
self.socket.close()
self._connect_unixsocket(self.address)
self.socket.send(msg)
elif self.socktype == socket.SOCK_DGRAM:
......
......@@ -91,6 +91,8 @@ Core and Builtins
Library
-------
- Issue #17981: Closed socket on error in SysLogHandler.
- Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function
is long, not int.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment