Dim httpPayment As HttpJob
httpPayment.Initialize("httpPayment", Me)
httpPayment.Download2("https://abc.com/xyz.asp","")
httpPayment.GetRequest.Timeout = 60000
Im running into somewhat of the same problem.
It somehow goes back to the 30 second default.
I can easely test it.
I unplug the internet connection from my router.
I activate the service. It works
I keep trying and after a while it is again timing out in 30 seconds.
Plug it back in
And it goes back to the timeout I set.
Any ideas?
(I am running httpjob in a service that checks for an intent to fire some homeautomation stuff.)
1. The ip address is not available (= server does not respond)
2. The internet connection is not avilable (= unplug the router)
I assume only the timeout for the request ittself (#1) can be changed, not for the internet connection (maybe android waits 30 secs for the connection to be available)