Skip to content

Respect deadline on new HTTPClient.execute for async/await #529

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

Merged
merged 3 commits into from
Dec 17, 2021

Conversation

dnadoba
Copy link
Collaborator

@dnadoba dnadoba commented Dec 16, 2021

We forgot to schedule a timeout timer for the user defined deadline and just use it as a connection timeout.

@dnadoba dnadoba added the 🔨 semver/patch No public API change. label Dec 16, 2021
@dnadoba dnadoba marked this pull request as ready for review December 16, 2021 08:20
@dnadoba dnadoba requested a review from fabianfett December 16, 2021 08:20
@dnadoba dnadoba force-pushed the dn-deadline-fix branch 2 times, most recently from 1210f9a to c359067 Compare December 16, 2021 16:50
Copy link
Member

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

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

Great fix!

@dnadoba dnadoba merged commit d952776 into swift-server:main Dec 17, 2021
@dnadoba dnadoba deleted the dn-deadline-fix branch December 17, 2021 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants