This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

SingleClientConnManager: connection still allocated.

Make sure to release the connection before allocating another one.
Added by bronzeboyvn about 1 year ago  »  Votes: 2/2

WARN/SingleClientConnManager(311): Invalid use of SingleClientConnManager: connection still allocated.
WARN/SingleClientConnManager(311): Make sure to release the connection before allocating another one.

You need to consume the response body before you can reuse the connection for another request. You should not only read the response status, but also read the response InputStream fully to the last byte whereby you just ignore the read bytes. You need to consume the content even if the response code is not HttpStatus.SC_OK, and in your exception handlers.


Comments