Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

EOFException #9

Closed
rockytriton opened this issue Jun 13, 2013 · 1 comment
Closed

EOFException #9

rockytriton opened this issue Jun 13, 2013 · 1 comment

Comments

@rockytriton
Copy link

I'm getting this sometimes when using the RestTemplate in multiple activities. Please see this thread on StackOverflow for a solution...

http://stackoverflow.com/questions/13182519/spring-rest-template-usage-causes-eofexception

royclarkson pushed a commit that referenced this issue Oct 29, 2014
Gem installation instructions updated
@royclarkson
Copy link
Contributor

SimpleClientHttpRequestFactory has been updated to set the "http.keepAlive" system property to "false" and also set the HTTP "Connection" header with a value of "close" for all requests. This is now the default configuration for all versions of Android. Connection reuse may be enabled by setting "reuseConnection" property to true. HttpClient 4.3 is also now available as an alternative.

Related JIRA: ANDROID-102

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants