sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Disable retry request #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How can i disable the retry of a request, if a server doesn't respond?

Nov 14, 2013 4:30:26 PM org.apache.http.impl.client.DefaultRequestDirector 
tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: 
Connection reset
Nov 14, 2013 4:30:26 PM org.apache.http.impl.client.DefaultRequestDirector 
tryExecute
INFO: Retrying request

Original issue reported on code.google.com by m...@felixschulze.de on 15 Nov 2013 at 7:52

GoogleCodeExporter commented 9 years ago
You probably need to change some settings in the HTTP Client, google for that 
and then provide your own HTTP Client implementation (only available in master 
branch at github, not released yet) or configure the settings using the 
HttpClientConfig (see detailed configuration in the docs). Also please use the 
mailing list to ask questions in the future, it's a better forum :)

Original comment by johan.ha...@gmail.com on 15 Nov 2013 at 11:07