My current solution times out because the file takes to long to fetch.Uhm, if the file takes a long time to fetch, it's going to take a long time to fetch even if you do something else in the mean time. If you get a time out during the fetch, it's unlikely to not time out if you do it "asynchronously".
As for doing it "asynchronously", there are three classical solutions: use an event loop, fork a new process, spawn a new thread. I don't see how any of them will help with a timeout.
In reply to Re: GET a file without waiting for the result?
by JavaFan
in thread GET a file without waiting for the result?
by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |