stillalex commented on code in PR #1789: URL: https://github.com/apache/solr/pull/1789#discussion_r1283685478
########## solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java: ########## @@ -755,11 +762,12 @@ private Request fillContentStream( content.addFilePart( name, contentStream.getName(), - new InputStreamContentProvider(contentStream.getStream()), + new InputStreamRequestContent(contentStream.getStream()), fields); } } - req.content(content); + content.close(); Review Comment: good idea! seems it does so I will give it a go. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org