In NextbusBusApiService.digestUrl(), ensure the InputStream returned by DownloaderService.openUrl() is explicitly closed. If InputStream is not closed and it is not consumed until the end of the stream, Apache HttpClient will not close the connection and will be unable to open new connections.
In
NextbusBusApiService.digestUrl()
, ensure the InputStream returned byDownloaderService.openUrl()
is explicitly closed. If InputStream is not closed and it is not consumed until the end of the stream, Apache HttpClient will not close the connection and will be unable to open new connections.See: http://stackoverflow.com/questions/4775618/httpclient-4-0-1-how-to-release-connection