Peter Rossbach wrote:
Hi Remy,

can you explain why we use packetSize at AjpAprProcessor attribute bodyMessage and responseHeaderMessage?

        requestHeaderMessage = new AjpMessage(packetSize);
        responseHeaderMessage = new AjpMessage(packetSize);
        bodyMessage = new AjpMessage(packetSize);

We want only send 8K packets!

Other problem I see now is: That we can create a packetSize responseHeader greater then 8K but
the Outputbuffer (SocketOutputBuffer) can only handle 8K packets.

I don't think the output buffer limitation prevents using more than 8K for the HTTP response header (ex: with lots of cookies). It's a bit cut&pasted from the HTTP connector, though, so bodyMessage = new AjpMessage(packetSize); is probably not useful (I did not think about it a lot before porting the packetSize support to these connectors).

I think it's worth testing a little bit, to see if 16KB packets perform better, for example. If it does not, then only the first header of the request and the response really need to have a bigger size.

Rémy

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

Reply via email to