Is there any way to use the netmf_toolbox_http_client with a timeout (like httpWebRequest)? If the site does not respond the client appears to wait indefinitely.
Thanks
Mike
  | ||||||||||||||
HttpWebRequest GetResponse Error
Started by dottorduino, May 15 2012 10:50 AM
22 replies to this topic
#21Posted 13 August 2014 - 11:27 PM Is there any way to use the netmf_toolbox_http_client with a timeout (like httpWebRequest)? If the site does not respond the client appears to wait indefinitely. Thanks Mike #22Posted 26 August 2014 - 01:28 PM In search of a solution to this problem could check two things that can be helpful.
The first:
Was found that in my query "(HttpWebResponse) request.GetResponse ();" the server where I was staying did not provide support for socket. But with the url "www.google.com.br" the error did not appear.
The second:
Established a timeout the request and normalize it. So far in my testing the error was not generated again.
Hope this can help. And I appreciate the assistance I got here. #23Posted 22 September 2014 - 06:33 PM I would also join to whitecap's question: Is there any way to use the netmf_toolbox_http_client with a timeout (like httpWebRequest)? If the site does not respond the client appears to wait indefinitely.
Thanks
JUR 0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||