Skip to content

fix(android): harden HTTPClient — DNS error code, retry, timeoutForResource, progress throttle#14515

Open
mbender74 wants to merge 1 commit into
tidev:mainfrom
mbender74:android-httpclient
Open

fix(android): harden HTTPClient — DNS error code, retry, timeoutForResource, progress throttle#14515
mbender74 wants to merge 1 commit into
tidev:mainfrom
mbender74:android-httpclient

Conversation

@mbender74

Copy link
Copy Markdown
Contributor

Hardens Ti.Network.HTTPClient:

  • Reports a clear error code on DNS/connection failure.
  • Resets requestPending on IOException so retries actually fire instead of being skipped because the flag stayed set.
  • Adds timeoutForResource support and the corresponding TiC constant.
  • Throttles progress callbacks to avoid flooding the JS bridge, and cleans up spill temp files.
  • Default timeout and network constants in TiC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant