New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests on Windows #173
Comments
Thanks for this, @gvanem. One solution would be to introduce a mutex/lock/criticalsection. Another one would be to document that the calling application needs to call WSAStartup() before using WDYT ? |
Yeah. That would be cleaner. |
As reported at #173, psl_is_cookie_domain_acceptable() doesn't work properly without WSAStartup() on Windows. Co-authored-by: gvanem@yahoo.no
Feel free to comment on #174 |
As reported at #173, psl_is_cookie_domain_acceptable() doesn't work properly without WSAStartup() on Windows. Co-authored-by: gvanem@yahoo.no
As reported at #173, psl_is_cookie_domain_acceptable() doesn't work properly without WSAStartup() on Windows. Co-authored-by: gvanem@yahoo.no
The test program
test-is-cookie-domain-acceptable.exe
is returning:Which really is due to the error
WSANOTINITIALISED
fromWSAStringToAddressW()
(called fromisip()
).So
WSAStartup()
needs to be called first. This is how I patchedsrc/psl.c
to make it work:So, now running
test-is-cookie-domain-acceptable.exe
gives:The text was updated successfully, but these errors were encountered: