Created originally on Bitbucket by Dodan (Dodan Mihai)
Was already merged in Bitbucket before import, marked as merged by the import user
- Fix for issue 2648 and 2649
Hello, I noticed somebody had an issue about sendmsg /recvmsg and I wanted to propose a fix for it.
I added:
- the missing socket.MSG_ERRQUEUE he mentioned
- a fix for the fact that it threw the wrong exception: OS Error instead of BlockingError.
- a pytest to check this in _socket/test/test_sock_app.py, which recreates the exact scenario he mentioned.
I also ran all the relevant socket tests again from the regression tests and everything is alright.
Thank you for considering this patch! I am looking forward to hearing your opinion on this!