microsoft / go-winio

Win32 IO-related utilities for Go
MIT License
947 stars 180 forks source link

fixes for Windows 7 #174

Closed anjalichandnani closed 1 year ago

anjalichandnani commented 4 years ago

173

Accept() blocks forever on Windows7, and all tests that rely on Accept() returning fail on Windows 7. This commit broke it: https://github.com/microsoft/go-winio/commit/bd71ef0e5d015b38ffc6d47eb43616a659054c5d Windows 7 is behaving differently than Win10. The fix is a workaround that used to exist before the breaking commit. I have re-introduced the client connect to ensure pipe instance is created. Not sure if there is a better fix. Also, fixed a couple of tests which were failing on Windows 7.