I use the new Volley framework for Android to do a request to my server. But it timeouts before getting the response, although it does respond.
I tried adding this
I ended up adding a method setCurrentTimeout(int timeout) to the RetryPolicy and it's implementation in DefaultRetryPolicy.
setCurrentTimeout(int timeout)
RetryPolicy
DefaultRetryPolicy
Then I added a setCurrentTimeout(int timeout) in the Request class and called it .
This seems to do the job.
Sorry for my laziness by the way and hooray for open source.