Hi to everbody,

while using my program for a while I get errors like "java.net.SocketException: Too many open files". I wonder if I do not use HttpClient correctly.

After executing the GetMethod with the client I fetch the responseBody via getResponseBody() and then I call closeIdleConnections() with a timeout of 15s on the corresponding HttpConnectionManger. After that I call releaseConnection() on the GetMethod-Object.

Question: Is the Connection that was used closed after that or does it remain open?
If it remains open, how can I close it?

thank u,
Mathias


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to