Jelte Fennema <Jelte(dot)Fennema(at)microsoft(dot)com> writes:> Attached is a new patch that I think addresses your concerns.
You missed TranslateSocketError ...
Pushed to HEAD only with that fix.
regards, tom lane