Repository navigation
On Windows every request works again. It is a patch release, so a dependency
written as a caret range, tinyhttps = "^0.3.1", resolves to it.
Winsock is started at the first socket
#26. Socket::platform_init()
(WSAStartup) existed and was never called. On Windows the first connect then
ran socket() and getaddrinfo() with Winsock unstarted, and every request
ended in statusCode = 0, statusText = "Connection failed", with nothing
saying why.
Socket::ensure_platform_started()runs once per process at the top of
Socket::connect, before the firstsocket()orgetaddrinfo();
Socket::platform_started()says whether it ran.platform_init()is unchanged and still public.tests/test_winsock_start.cppis the first socket of its process and checks
both.