From: "Michael E. Locasto" <[EMAIL PROTECTED]>
Subject: Re: Differences between ajp12 and ajp13
Date: Tue, 13 Aug 2002 11:25:06 -0400

> Gernot,
> 
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/AJPv13.html
> 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
> 

First of all thank you for the links. But i have 2 more Problems/Questions:

The first one concerns the debug output of Tomcat:

2002-08-14 14:41:15 Ajp13Processor[8009][4] [Ajp13] receiveNextRequest()
2002-08-14 14:41:15 Ajp13Processor[8009][4] [Ajp13] receive()
2002-08-14 14:41:15 Ajp13Processor[8009][4] [Ajp13] read got # 2
2002-08-14 14:41:15 Ajp13Processor[8009][4] [Ajp13] read got # 1
2002-08-14 14:41:15 Ajp13Processor[8009][4] [Ajp13] read got # 1
2002-08-14 14:41:16 Ajp13Processor[8009][4] [Ajp13] Received 4 -1 0
2002-08-14 14:41:16 Ajp13Processor[8009][4] [Ajp13] incomplete read, waited #-1 got 
only 0
2002-08-14 14:41:16 Ajp13Processor[8009][4] [Ajp13] Error receiving message

I would interpret it as:

tomcat read 2 bytes
tomcat read 1 byte
tomcat read 1 byte
Connection closed

Is this correct, or am I completely wrong?

The second on concerns the package structure of ajp13:

I´m not sure, if I got it right.

If i sent something to Tomcat the first 2 bytes are always: 0x12,0x34
Then I send the data length.  
The data that will be send is the actual request I want to send.

Am I right?

Many thanks,
  Gernot

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to