openziti / tlsuv

TLS and HTTP(s) client library for libuv
https://docs.openziti.io/tlsuv/
MIT License
43 stars 5 forks source link

HTTP requests sometimes hang on Mac #35

Closed rentallect closed 4 years ago

rentallect commented 4 years ago

While putting together enrollment support in the C-SDK, I encountered an intermittent, and seemingly Mac-specific, issue where requests from the C-SDK to the well-known-certs endpoint in the controller would never complete.

Interestingly, if I enabled the MBEDTLS_DEBUG=99 env var, the hang never manifested.

Although I am entering this issue against mbedtls, the root of the problem could be elsewhere.