[
https://issues.jboss.org/browse/WFLY-7267?page=com.atlassian.jira.plugin....
]
Stuart Douglas moved JBEAP-6311 to WFLY-7267:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7267 (was: JBEAP-6311)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Web (Undertow)
(was: Web (Undertow))
Affects Version/s: (was: 7.0.1.GA)
(was: 7.0.2.GA)
(was: 7.1.0.DR4)
[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
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
(v6.4.11#64026)