Author: rjung
Date: Sat Mar 21 23:11:39 2009
New Revision: 757063
URL: http://svn.apache.org/viewvc?rev=757063&view=rev
Log:
Optimize a couple of docs formats.
Modified:
tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml
tomcat/connectors/trunk/jk/xdocs/generic_howto/timeouts.xml
Modified: tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml?rev=757063&r1=757062&r2=757063&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml Sat Mar 21
23:11:39 2009
@@ -106,14 +106,17 @@
</ul>
</p>
<warn>
-The remote port number has been forgotten in the AJP13 protocol. So
<code>getRemotePort()</code>
+The remote port number has been forgotten in the AJP13 protocol.
+</warn>
+<p>
+So <code>getRemotePort()</code>
will incorrectly return 0 or -1. As a workaround you can forward the remote
port by setting
<code>JkEnvVar REMOTE_PORT</code> and then either using
<code>request.getAttribute("REMOTE_PORT")</code> instead of
<code>getRemotePort()</code>
or wrapping the request in a filter and overriding
<code>getRemotePort()</code> with
<code>request.getAttribute("REMOTE_PORT")</code>. Recent versions of Tomcat
might
automatically respect the forwarded attribute <code>REMOTE_PORT</code>.
-</warn>
+</p>
</section>
<section name="Fine Tuning">
<br/>
Modified: tomcat/connectors/trunk/jk/xdocs/generic_howto/timeouts.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/generic_howto/timeouts.xml?rev=757063&r1=757062&r2=757063&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/generic_howto/timeouts.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/generic_howto/timeouts.xml Sat Mar 21
23:11:39 2009
@@ -52,7 +52,7 @@
</warn>
</section>
-<section name="JK timeout attributes">
+<section name="JK Timeout Attributes">
<br/>
<subsection name="CPing/CPong">
<p>
@@ -337,6 +337,7 @@
</section>
<section name="Load Balancer Error Detection">
+<br/>
<subsection name="Local and Global Error States">
<p>
A load balancer worker does not only have the ability to balance load.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]