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

Handle connection timeouts in Features #656

Merged
merged 1 commit into from Apr 5, 2021
Merged

Handle connection timeouts in Features #656

merged 1 commit into from Apr 5, 2021

Conversation

semenyukdmitry
Copy link
Contributor

The change from 609f07b allows Features to handle errors, but it isn’t a complete implementation, because while it does handle read/write timeouts, it does not work for connection timeouts.

This pull request resolves this by moving connection establishment to the exception-handling block introduced in that commit.

The change from 609f07b allows Features to handle errors, but it isn’t a complete implementation, because while it does handle read/write timeouts, it does not work for connection timeouts.

This pull request resolves this by moving connection establishment to the exception-handling block introduced in that commit.
Copy link
Member

@tarcieri tarcieri left a comment

Choose a reason for hiding this comment

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

Looks good to me. @ixti?

rubocop failure looks unrelated

@ixti ixti merged commit f5f86a5 into httprb:master Apr 5, 2021
@ixti
Copy link
Member

ixti commented Apr 5, 2021

Thank you!

@semenyukdmitry semenyukdmitry deleted the handle-connection-timeout-errors-in-features branch April 5, 2021 17:38
@tarcieri tarcieri mentioned this pull request May 13, 2021
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.

None yet

3 participants