Skip to content

Set a timeout for https async_resolve

Hungpo DU requested to merge duhoobo/Simple-Web-Server:master into master

I ran into this on an occasionally malfunctioned dns server that it did not response after a long time, and my client code didn't abort after timeout_connect seconds as expected.

After digging client_https.hpp a little, I noticed that timer is not set for async_resolve as client_http.hpp does.

Merge request reports