https://issues.apache.org/bugzilla/show_bug.cgi?id=47840

--- Comment #2 from Rainer Jung <rainer.j...@kippdata.de> 2009-09-18 19:35:24 
PDT ---
I think your patch doesn't help. I analyzed the problem and came up with
another solution. Would you please try the below patch and see if it fixes the
problem for you:

Index: common/jk_lb_worker.c
===================================================================
--- common/jk_lb_worker.c       (revision 810065)
+++ common/jk_lb_worker.c       (working copy)
@@ -840,7 +840,11 @@
             }
             else if (*wr.domain && !uses_domain) {
                 candidate = find_best_bydomain(s, p, wr.domain, states, l);
-                s->route = wr.domain;
+                if (candidate >= 0) {
+                    s->route = wr.domain;
+                } else {
+                    s->route = NULL;
+                }
             }
             if (candidate >= 0) {
                 wr = p->lb_workers[candidate];

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to