You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mt...@apache.org on 2004/08/24 13:28:10 UTC
cvs commit: httpd-2.0/modules/proxy ajp_header.c
mturk 2004/08/24 04:28:10
Modified: modules/proxy ajp_header.c
Log:
Use the session route from request rec notes.
Revision Changes Path
1.2 +4 -4 httpd-2.0/modules/proxy/ajp_header.c
Index: ajp_header.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/proxy/ajp_header.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ajp_header.c 18 Aug 2004 16:09:27 -0000 1.1
+++ ajp_header.c 24 Aug 2004 11:28:10 -0000 1.2
@@ -211,7 +211,7 @@
apr_byte_t is_ssl;
char *remote_host;
char *uri;
-
+ const char *session_route;
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"Into ajp_marshal_into_msgb");
@@ -334,16 +334,16 @@
return APR_EGENERAL;
}
}
-/* XXXX ignored for the moment
- if (s->jvm_route) {
+ if ((session_route = apr_table_get(r->notes, "session-route"))) {
if (ajp_msg_append_uint8(msg, SC_A_JVM_ROUTE) ||
- ajp_msg_append_string(msg, s->jvm_route)) {
+ ajp_msg_append_string(msg, session_route)) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
"Error ajp_marshal_into_msgb - "
"Error appending the jvm route");
return APR_EGENERAL;
}
}
+/* XXXX ignored for the moment
if (s->ssl_cert_len) {
if (ajp_msg_append_uint8(msg, SC_A_SSL_CERT) ||
ajp_msg_append_string(msg, s->ssl_cert)) {