Message332536
logging.handlers.SysLogHandler in __init__ contains the following code, where socket is created and then connected right away. This seem to provide no way to specify a connection timeout for the socket being created.
sock = socket.socket(af, socktype, proto)
if socktype == socket.SOCK_STREAM:
sock.connect(sa)
I believe to add an argument to specify the optional timeout would be appreciated, i.e., optionally calling sock.settimeout(..), something like:
sock = socket.socket(af, socktype, proto)
if timeout:
sock.settimeout(timeout)
if socktype == socket.SOCK_STREAM:
sock.connect(sa) |
|
Date |
User |
Action |
Args |
2018-12-26 11:00:55 | jso2460 | set | recipients:
+ jso2460 |
2018-12-26 11:00:53 | jso2460 | set | messageid: <1545822053.48.0.712150888896.issue35590@roundup.psfhosted.org> |
2018-12-26 11:00:53 | jso2460 | link | issue35590 messages |
2018-12-26 11:00:53 | jso2460 | create | |
|