ASF Bugzilla – Attachment 16546 Details for
Bug 36507
mod_proxy_balancer does not handle sticky sessions with tomcat correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against trunk
36507.diff (text/plain), 1.09 KB, created by
Rüdiger Plüm
on 2005-09-28 23:17:33 UTC
(
hide
)
Description:
Patch against trunk
Filename:
MIME Type:
Creator:
Rüdiger Plüm
Created:
2005-09-28 23:17:33 UTC
Size:
1.09 KB
patch
obsolete
>Index: modules/proxy/mod_proxy_balancer.c >=================================================================== >--- modules/proxy/mod_proxy_balancer.c (Revision 280037) >+++ modules/proxy/mod_proxy_balancer.c (Arbeitskopie) >@@ -193,7 +193,17 @@ > *route = get_path_param(r->pool, *url, balancer->sticky); > if (!*route) > *route = get_cookie_param(r, balancer->sticky); >- if (*route) { >+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, >+ "proxy: BALANCER: Found value %s for " >+ "stickysession %s", *route, balancer->sticky); >+ /* >+ * If we found a value for sticksession, find the first '.' within. >+ * Everything after '.' (if present) is our route. >+ */ >+ if ((*route) && ((*route = strchr(*route, '.')) != NULL )) (*route)++; >+ if ((*route) && (**route)) { >+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, >+ "proxy: BALANCER: Found route %s", *route); > /* We have a route in path or in cookie > * Find the worker that has this route defined. > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36507
: 16546