Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5563410A58 for ; Fri, 2 Jan 2015 11:36:47 +0000 (UTC) Received: (qmail 86144 invoked by uid 500); 2 Jan 2015 11:36:47 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 86079 invoked by uid 500); 2 Jan 2015 11:36:47 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 86069 invoked by uid 99); 2 Jan 2015 11:36:47 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2015 11:36:47 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id D64ECAC08CC; Fri, 2 Jan 2015 11:36:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1649001 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml Date: Fri, 02 Jan 2015 11:36:45 -0000 To: cvs@httpd.apache.org From: rjung@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150102113646.D64ECAC08CC@hades.apache.org> Author: rjung Date: Fri Jan 2 11:36:45 2015 New Revision: 1649001 URL: http://svn.apache.org/r1649001 Log: PR 48460: Improve/correct mod_proxy_ajp docs. Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml?rev=1649001&r1=1649000&r2=1649001&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml Fri Jan 2 11:36:45 2015 @@ -148,11 +148,7 @@ ProxyPassReverse /apps/foo http://www.ex
Basic Packet Structure

There is a bit of an XDR heritage to this protocol, but it differs in lots of ways (no 4 byte alignment, for example).

-

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.

+

AJP13 uses network byte order for all data types.

There are four data types in the protocol: bytes, booleans, integers and strings.

@@ -573,9 +569,9 @@ AJP13_GET_BODY_CHUNK :=
End Response

Signals the end of this request-handling cycle. If the - reuse flag is true (==1), this TCP connection can - now be used to handle new incoming requests. If reuse is false - (anything other than 1 in the actual C code), the connection should + reuse flag is true (anything other than 0 in the actual + C code), this TCP connection can now be used to handle new incoming + requests. If reuse is false (==0), the connection should be closed.

Get Body Chunk