Author: jfrederic.clere(a)jboss.com
Date: 2008-04-25 03:18:05 -0400 (Fri, 25 Apr 2008)
New Revision: 1562
Modified:
sandbox/httpd/src/native/mod_manager/mod_manager.c
Log:
Add the logic to received the reversed connection indicator.
Modified: sandbox/httpd/src/native/mod_manager/mod_manager.c
===================================================================
--- sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-04-24 15:29:41 UTC (rev 1561)
+++ sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-04-25 07:18:05 UTC (rev 1562)
@@ -302,6 +302,7 @@
* <Host: <Node IP>
* Port: <Connector Port>
* Type: <Type of the connector>
+ * Reserved: <Use connection pool initiated by Tomcat *.
* (<node conf>
* Virtual hosts in JBossAS
* Alias: <vhost list>
@@ -333,6 +334,7 @@
vhost->next = NULL;
phost = vhost;
+ nodeinfo.mess.reversed = 0;
int i = 0;
while (ptr[i]) {
if (strcasecmp(ptr[i], "JVMRoute") == 0) {
@@ -360,6 +362,11 @@
return 500;
strcpy(nodeinfo.mess.Type, ptr[i+1]);
}
+ if (strcasecmp(ptr[i], "Reversed") == 0) {
+ if (strcasecmp(ptr[i+1], "yes") == 0) {
+ nodeinfo.mess.reversed = 1;
+ }
+ }
if (strcasecmp(ptr[i], "Alias") == 0) {
if (phost->host && !phost->context) {
return 500;
Show replies by date