Files
UnrealEngineUWP/Engine/Plugins/Runtime/AndroidBackgroundService
thomas ross 2b1a5a05c8 Android Background HTTP Fixes:
- Fix crash in FetchAPI caused by supplying a null URL when its specified as non-null. Now guards against future errors like this by logging an error instead of just crashing.
- Fix bug where downloads never reset their CurrentRetryCount, thus leading to cases where you would try and re-queue work after it had been finished with an OutOfRetries error and it would cause the above crash from trying to requeue with a null URL since we were out of retries.
- Added exception to the UE logging in UEWorker when an exception is encountered.
- Fix possible timing error where we could successfully enqueue a request on a previous UEDownloadWorker that was stopped before we got the enqueue success, and then have all future Enqueue requests fail because we are already managing that same download. Now we check for this possiblity if we get an UNKNOWN, REQUEST_ALREADY_EXIST, REQUEST_WITH_ID_ALREADY_EXIST, REQUEST_WITH_FILE_PATH_ALREADY_EXIST, or FAILED_TO_UPDATE_REQUEST errors.
#rb swarm
#tests Android Client

[CL 25680672 by thomas ross in ue5-main branch]
2023-05-30 13:04:59 -04:00
..