On Wed, Jun 30, 2010 at 6:04 AM, Sam Crawford <[email protected]> wrote:
> Two suggestions (assuming you're on version 4.x): > > 1) Enable logging for your application and post what logs you can > here. Enabling logging is described on > http://hc.apache.org/httpcomponents-client-4.0.1/logging.html. For > your issue, I'd suggest the "connection management" logging approach > may be the most appropriate. > 2) Check that whenever you're fetching data from a remote web server > you're either reading the InputStream from the entity completely or > are calling entity.consumeContent(). If you do not do this, the > connection will not be closed. > > Thanks, > > Sam > > > Thanks Sam, i was not reading the stream, fixed it now :) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
