]
Jan Stefl updated WFLY-7267:
----------------------------
Tester: Jan Kašík (was: Bogdan Sikora)
[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.