Hi all,
The app is designed in a way the client will send requests to server to check for a availability of a request resource unless the server responds with weather Yes or No. Consider this as call whether the requested report is generated or not, the server will respond with something like "Working on your request" unless it creates the report or deny the request.
There will be two or more such isReadyorNot type of calls based on many factors, let us keep it to 2 call for this example.
I'm setting a flag in poll_1_ResponseCB() to determine whether I need to loop this URL using while loop (or) to call "web_stop_async" based on the response I get from server, but when the request fails at "HTTP-Time-Out" it stops from sending the request again and the flag will never be set and so the while loop keeps on running indefinitely.
What happens when a Async call faces "HTTP-Time-Out"? Does it follow a normal flow, or it will forcefully stop the Async by calling "web_stop_async"?
Thanks