Negative timeout config value causes errors
Our example config file advises to use -1 for infinite timeouts.
This can cause "time interval must be positive (ArgumentError)" exception on some ruby versions.
According to the docs the solution seems to be using 0 instead of -1.
We should change our sample config and check values < 0 before the timeout is set.
#1 Updated by Tomáš Strachota over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Tomáš Strachota
- Target version set to 1.8.4
#6 Updated by Tomáš Strachota over 5 years ago
- Status changed from Closed to Ready For Testing
Re-opening as I found some issues with different versions of rest-client: