[jboss-jira] [JBoss JIRA] (WFLY-7267) [Proxy] No failover on empty response from node

Stuart Douglas (JIRA) issues at jboss.org
Fri Nov 4 17:54:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-7267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved WFLY-7267.
----------------------------------
    Fix Version/s: 11.0.0.Alpha1
       Resolution: Done


It is now possible to configure max-retries

> [Proxy] No failover on empty response from node
> -----------------------------------------------
>
>                 Key: WFLY-7267
>                 URL: https://issues.jboss.org/browse/WFLY-7267
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>             Fix For: 11.0.0.Alpha1
>
>
> Undertow balancer do not recognizes empty response as an error.
> Can happen when JVM got killed when handling request (System.exit())
> {code}
> @Override
>         public void failed(final HttpServerExchange exchange) {
>             final long time = System.currentTimeMillis();
>             if (tries++ < maxRetryAttempts) { 
>             ...
> {code}
> Undertow make curl hang.
> Apache httpd correctly recognizes empty response as error and starts fail over method. If unsuccessful, 50x is returned in response.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list