private void consumeInputFully ( HttpServletRequest req ) { try { ServletInputStream is = req . getInputStream ( ) ; while ( ! is . isFinished ( ) && is . read ( ) != - 1 ) { } } catch ( IOException e ) { log . info ( "Could not consume full client request" , e ) ; } }
connection - see SOLR - 8453 and SOLR - 8683