Re: Running out of connections

2003-02-03 Thread Eric Johnson
(); } } Uncommenting either of the last two lines makes the problem go away... - Original Message - From: Michael Becke [EMAIL PROTECTED] To: Commons HttpClient Project [EMAIL PROTECTED] Sent: Sunday, February 02, 2003 6:18 AM Subject: Re: Running out of connections Hello Simon, Sorry

Re: Running out of connections

2003-02-02 Thread Jeffrey Dever
in use so neither are elligible for garbage collection ... Jandalf. - Original Message - From: Michael Becke [EMAIL PROTECTED] To: Commons HttpClient Project [EMAIL PROTECTED] Sent: Sunday, February 02, 2003 6:18 AM Subject: Re: Running out of connections Hello Simon, Sorry

Re: Running out of connections

2003-02-02 Thread Simon Roberts
Yes, but you have done a very bad thing here. By doing the executeMethod(), you have established a connection to the server, and have read the headers. But then you are closing the connection before reading the body. The client (thats you!) is responsible for completing the read by