You should try to set the read timeout as well (http.setReadTimeout()
). Oftentimes, a web server will happily accept your connection, but it might be slow in actually responding to the request.
You should try to set the read timeout as well (http.setReadTimeout()
). Oftentimes, a web server will happily accept your connection, but it might be slow in actually responding to the request.