[ https://issues.apache.org/jira/browse/LUCENE-5600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Kaser updated LUCENE-5600: ------------------------------------ Attachment: HttpClientBase-LUCENE-5600.java.patch Fix > HttpReplicator does not properly handle server failures > ------------------------------------------------------- > > Key: LUCENE-5600 > URL: https://issues.apache.org/jira/browse/LUCENE-5600 > Project: Lucene - Core > Issue Type: Bug > Components: modules/replicator > Affects Versions: 4.7.1 > Reporter: Christoph Kaser > Attachments: HttpClientBase-LUCENE-5600.java.patch, > HttpReplicatorTest.patch > > > When ReplicationClient.updateNow() using an HttpReplicator encounters a > server error (like Status Code 500), it throws a runtime exception instead of > an IOException. > Furthermore, it does not close the HttpClient it used, which leads to an > Error if a BasicClientConnectionManager is used -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org