[ https://issues.apache.org/jira/browse/SOLR-4716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Po Rui updated SOLR-4716: ------------------------- Description: For bug SOLR-4210. remoteQuery() have some issue in tomcat. it's ok in jetty but not work in tomcat(maybe some other web server too) cause the IOUtils.closeQuietly(os) wouldn't flush before close . this lead a "Bogus chunk size" error cause the transfer-encoding is chunked and also the "Content-Length" was set to non "-1". so we should invoke flush() explicitly before close. (was: For bug SOLR-4210. remoteQuery() have some issue in tomcat. it's ok in jetty but not work in tomcat(maybe some more web server) cause the IOUtils.closeQuietly(os) wouldn't flush before close the stream in org.apache.catalina.connector.CoyoteOutputStream. this lead a "Bogus chunk size" error cause the transfer-encoding is chunked and also the "Content-Length" was set to non "-1") > this bug for fixed bug SOLR-4210. proxy request for remote core > ---------------------------------------------------------------- > > Key: SOLR-4716 > URL: https://issues.apache.org/jira/browse/SOLR-4716 > Project: Solr > Issue Type: Bug > Components: SolrCloud > Affects Versions: 4.2 > Reporter: Po Rui > > For bug SOLR-4210. remoteQuery() have some issue in tomcat. it's ok in jetty > but not work in tomcat(maybe some other web server too) cause the > IOUtils.closeQuietly(os) wouldn't flush before close . this lead a "Bogus > chunk size" error cause the transfer-encoding is chunked and also the > "Content-Length" was set to non "-1". so we should invoke flush() explicitly > before close. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org