Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asynchronously calculate User-Agent #623

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

bhamiltoncx
Copy link
Member

Alternative to #616 which ensures the User-Agent is always calculated asynchronously by moving the NSMutableURLRequest creation onto a new background serial queue.

Should also fix #615. swift test passes, trying to run more global tests now.

@thomasvl
Copy link
Member

CocoaPods compiles with warnings as errors, just use the #pragmas to turn off the deprecated warnings around the tests calling the now deprecated apis.

@bhamiltoncx
Copy link
Member Author

bhamiltoncx commented Jan 23, 2024 via email

USING.md Outdated Show resolved Hide resolved
Sources/Core/Public/GoogleAPIClientForREST/GTLRService.h Outdated Show resolved Hide resolved
Copy link
Member

@thomasvl thomasvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor nit/question about indents, and then I think we're good to go.

Sources/Core/GTLRService.m Outdated Show resolved Hide resolved
@bhamiltoncx
Copy link
Member Author

Sorry, I managed to accidentally close this by force-pushing the wrong commit to my branch.

@bhamiltoncx bhamiltoncx reopened this Jan 24, 2024
@thomasvl thomasvl merged commit bfe8cd0 into google:main Jan 24, 2024
49 checks passed
@thomasvl
Copy link
Member

Thank you!

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.

-[GTLRService requestUserAgent] blocks the calling thread in GTMFetcherApplicationIdentifier()
2 participants