src/java/fr/jayasoft/ivy/repository/vfs/IvyWebdavConnectionManager.java
/**
     * Since the same connection is about to be reused, make sure the
     * previous request was completely processed, and if not
     * consume it now.
     *
     * @param conn The connection
     */
Since the same connection is about to be reused, make sure the
previous request was completely processed, and if not
consume it now.

@param conn The connection
Since the same connection is about to be reused make sure the previous request was completely processed and if not consume it now . @param conn The connection
static void finishLastResponse(HttpConnection conn)
    {
        InputStream lastResponse = conn.getLastResponseInputStream();
        if (lastResponse != null)
        {
            conn.setLastResponseInputStream(null);
            try
            {
                lastResponse.close();
            }
            catch (IOException ioe)
            {
                conn.close();
            }
        }
    }
static void finishLastResponse ( HttpConnection conn ) { InputStream lastResponse = conn . getLastResponseInputStream ( ) ; if ( lastResponse != null ) { conn . setLastResponseInputStream ( null ) ; try { lastResponse . close ( ) ; } catch ( IOException ioe ) { conn . close ( ) ; } } }
Since the same connection is about to be reused, make sure the
 previous request was completely processed, and if not
 consume it now.
Since the same connection is about to be reused make sure the previous request was completely processed and if not consume it now .
//FIXME: badness - close to force reconnect.
