moresandeep opened a new pull request #419:
URL: https://github.com/apache/knox/pull/419
## What changes were proposed in this pull request?
Add option to replay requests when the server unexpectedly closes the
connection (not in case of socket timeouts where the server is unable to reach)
Proposed changes are adding optional service params
1. `retryCount` - how many times should a request be retried
2. `retryNonSafeRequest` - Should an unsafe request be retries, unsafe =
POST, PUT, DELETE (!GET)
example
`
<service>
<role>WHOAMI</role>
<url>http://localhost:50071</url>
<param name="retryCount" value="5"/>
</service>
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]