-
Notifications
You must be signed in to change notification settings - Fork 150
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
Rework of timeout errors (part 3): extend all raised timeout exceptions with HTTPI::TimeoutError #198
Closed
Closed
Rework of timeout errors (part 3): extend all raised timeout exceptions with HTTPI::TimeoutError #198
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
9074c33
Add integration test for net_http + read_timeout
8b249bc
Add integration test for net_http_persistent + read_timeout
f692635
Add integration test for excon + read_timeout
6046d35
Set timeouts in msec in curb adapter
bf760e1
Add integration test for curb + read_timeout
4544e6c
Add integration test for em_http + read_timeout
ec837d2
Add integration test for httpclient + read_timeout
370e3f5
Add support for open/read timeouts to http adapter
b8426ac
Add integration test for http + read_timeout
06d2086
Remove debug output from timeout specs
c59e11a
Fix broken timeout specs for curb adapter
1c3aba4
Fix em_http adapter: do not set timeouts to nil explicitly
8b96c4a
Disable read_timeout test for em_http_request adapter on jruby
d3edcc4
Add support for write_timeout config option
f2d0e77
Move excon integration tests to the appropriate file
bf0352c
Move http integration tests to the appropriate file
eb5f009
Move net_http_persistent integration tests to the appropriate file
885e373
Move net_http integration tests to the appropriate file
5d83dc9
Add tests for different timeout options to all adapters
d47c8cb
Extend all timeout exceptions with ::HTTPI::TimeoutError (it is modul…
4186857
No need to require http libs, because errors classes are checked lazi…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to just raise a new exception and if you want to know the source, use
Exception#cause
.