@lucasrangit wrote:
If the server in
ofLoadURLAsyncis not reachable then call will constantly fail with the following error. The callback handler is called repeatedly. How should I handle this?For now I am using
ofRemoveAllURLRequests()andofStopURLLoader()in the handler to stop it. However, I would rather cancel only the failing request. Perhaps the request should not be retried and this is a bug inofURLFileLoader, if so I can try to make a patch.[ error ] ofURLFileLoader: handleRequest(): Connection refused [ error ] ofURLFileLoader: handleRequest(): Connection refused [ error ] ofURLFileLoader: handleRequest(): Connection refused [ error ] ofURLFileLoader: handleRequest(): Connection refused ...
Posts: 1
Participants: 1