]> granicus.if.org Git - apache/commitdiff
PR 48460: Improve/correct mod_proxy_ajp docs.
authorRainer Jung <rjung@apache.org>
Fri, 2 Jan 2015 11:44:40 +0000 (11:44 +0000)
committerRainer Jung <rjung@apache.org>
Fri, 2 Jan 2015 11:44:40 +0000 (11:44 +0000)
Backport of r1649001 from trunk (CTR).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1649003 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_ajp.xml

index 4f4727136ad79da91777948bd1df774f0bc9d4f5..63c3707f82c741c689ac7ee509ec04407ed3f1f5 100644 (file)
@@ -149,11 +149,7 @@ ProxyPassReverse /apps/foo http://www.example.com/foo
 <section id="basppacketstruct"><title>Basic Packet Structure</title>
     <p>There is a bit of an XDR heritage to this protocol, but it differs
     in lots of ways (no 4 byte alignment, for example).</p>
-    <p>Byte order: I am not clear about the endian-ness of the individual
-    bytes.  I'm guessing the bytes are little-endian, because that's what
-    XDR specifies, and I'm guessing that sys/socket library is magically
-    making that so (on the C side).  If anyone with a better knowledge of
-    socket calls can step in, that would be great.</p>
+    <p>AJP13 uses network byte order for all data types.</p>
     <p>There are four data types in the protocol: bytes, booleans,
     integers and strings.</p>
     <dl>
@@ -574,9 +570,9 @@ AJP13_GET_BODY_CHUNK :=
   </section>
   <section><title>End Response</title>
     <p>Signals the end of this request-handling cycle.  If the
-    <code>reuse</code> flag is true <code>(==1)</code>, this TCP connection can
-    now be used to handle new incoming requests.  If <code>reuse</code> is false
-    (anything other than 1 in the actual C code), the connection should
+    <code>reuse</code> flag is true <code>(anything other than 0 in the actual
+    C code)</code>, this TCP connection can now be used to handle new incoming
+    requests.  If <code>reuse</code> is false (==0), the connection should
     be closed.</p>
   </section>
   <section><title>Get Body Chunk</title>