[issue34466] socket.settimeout working incorrectly for connect() method of AF_UNIX socket

2018-08-23 Thread Fedor Korotkiy
Fedor Korotkiy added the comment: Hello Benjamin. That would be appropriate workaround. Maybe we should update docs to mention it? -- ___ Python tracker <https://bugs.python.org/issue34

[issue34466] socket.settimeout working incorrectly for connect() method of AF_UNIX socket

2018-08-22 Thread Fedor Korotkiy
New submission from Fedor Korotkiy : Attached program creates listening server socket, fills backlog queue with 2 client socket and performs third connect attempt after setting socket timeout to 5 second. I expect third connect() attempt to fail after specified timeout of 5 second