Skip to content

Fix roInteger vs roInt#44

Open
DMarine68 wants to merge 6 commits into
rokucommunity:masterfrom
DMarine68:master
Open

Fix roInteger vs roInt#44
DMarine68 wants to merge 6 commits into
rokucommunity:masterfrom
DMarine68:master

Conversation

@DMarine68

Copy link
Copy Markdown

roInteger doesn't exist. This makes the optional timeout, retryCount, and cacheSeconds args useless. This PR changes the type checks to use roInt instead.

DMarine68 and others added 6 commits February 25, 2025 16:37
- Track timedOut state on request details and expose it on the response object
- Replace busy-wait GetMessage() loop with wait(waitMs, port) for efficient polling
- Fix cancel_and_return scoping bug (was incorrectly referencing m.cancel_and_return)
- Fix indentation on EnableEncodings/RetainBodyOnError calls
- Add Cursor rules for BrightScript style and project architecture

Made-with: Cursor
Remove the timedOut reset at the top of the retry loop so the flag
correctly reflects whether any attempt timed out. Create a fresh
roUrlTransfer after AsyncCancel() to prevent "operation in progress"
errors on the subsequent retry.

Made-with: Cursor
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.

2 participants