You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "KARNATI, SRINIVASA R [AG/1000]" <sr...@monsanto.com> on 2006/04/05 19:04:25 UTC

configurable AJP Buffer Size

I would like to extend AJP buffer size (in org.apache.jk.common.MsgAjp) as a
configurable option. We really needed the buffer above 8 kb (because of
Kerberos integration.)

Here is the plan: 

i) maxAJPBufferSize on connector definition will accept buffer size above 8
kb

For example:
    <Connector port="8009" 
               ...
               protocol="AJP/1.3" 
		   ...
		   maxAJPBufferSize="32768" />

if maxAJPBufferSize attribute is absent, then 8 kb is the default.

ii) add a new constructor to MsgAjp to take in the size parameter

I appreciate any comments/suggestions in this regard.

Thanks, Srini





---------------------------------------------------------------------------------------------------------
This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited.


All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment.
---------------------------------------------------------------------------------------------------------


Re: configurable AJP Buffer Size

Posted by Mladen Turk <mt...@apache.org>.
KARNATI, SRINIVASA R [AG/1000] wrote:
> I would like to extend AJP buffer size (in org.apache.jk.common.MsgAjp) as a
> configurable option. We really needed the buffer above 8 kb (because of
> Kerberos integration.)
>

-1.

Makes no sense because other side has no clue about that.
If you need larger packet size make your own flavor of
Tomcat and mod_jk or mod_proxy_ajp or isapi_redirector
with desired maximum packet size. It will not be AJP1/3
compliant for sure.

I can accept the idea, but *only* for AJP1.4 protocol,
that we have intention to implement for quite some time.

--
Mladen.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: configurable AJP Buffer Size

Posted by Jim Jagielski <ji...@jaguNET.com>.
On Apr 5, 2006, at 1:04 PM, KARNATI, SRINIVASA R [AG/1000] wrote:

> I would like to extend AJP buffer size (in  
> org.apache.jk.common.MsgAjp) as a
> configurable option. We really needed the buffer above 8 kb  
> (because of
> Kerberos integration.)
>
> Here is the plan:
>
> i) maxAJPBufferSize on connector definition will accept buffer size  
> above 8
> kb
>
> For example:
>     <Connector port="8009"
>                ...
>                protocol="AJP/1.3"
> 		   ...
> 		   maxAJPBufferSize="32768" />
>
> if maxAJPBufferSize attribute is absent, then 8 kb is the default.
>
> ii) add a new constructor to MsgAjp to take in the size parameter
>
> I appreciate any comments/suggestions in this regard.
>

I would be -1 for AJP 1.3, but +1 as a functionality baseline
for 1.4. The issue is that the buffer size should ideally
be negotiated between the 2 ends.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org