tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Changing the packetSize in AJP connector causes 503 Internal Server Error in Tomcat 9
Date Fri, 11 May 2018 18:46:04 GMT
On 08/05/18 17:59, Christopher Schultz wrote:

> This bites enough people that it may be worth correcting, or at least
> changing the behavior when it happens.
> AJP already encodes the packet-size in the header of each packet. Why
> not simply compare that to the MaxPacketSize on the Tomcat side and
> issue a useful error message instead of whatever is currently happening?


Most likely there would have been an error message logged anyway, but
that would have been about the next bytes being an invalid packet
header. Now there is an explicit error logged for the message being too big.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message