Summary: Unable to set maxHttpHeaderSize
Product: Tomcat 4
Component: Connector:Coyote HTTP/1.1
AssignedTo: [hidden email] ReportedBy: [hidden email] CC: [hidden email]
The value I set in maxHttpHeaderSize attribute of my connector is not picked up
on start up. Instead the default 4 KB setting is used.
The problem was introduced in 4.1.30 release when the connector code from 5.0
was back ported into 4.1 releases.
(The code containing the error is still present at least up to release 5.0.30)
The fix seems to be as simple as to just add setters and getter for
maxHttpHeaderSize property in org.apache.coyote.tomcat4.CoyoteConnector.
Further, there are a number of other properties that cannot be set using the
tomcat4 CoyoteConnecter. As I realize development does not focus on release 4.1
anymore, would it be possible to remove the "final" declaration of the
Until we have a chance to upgrade to a more recent release, this would make it
easier for us to patch this class in a more controlled way without having to
bother you guys.