You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/05/06 10:28:55 UTC

DO NOT REPLY [Bug 34771] New: - Unable to set maxHttpHeaderSize

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34771>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34771

           Summary: Unable to set maxHttpHeaderSize
           Product: Tomcat 4
           Version: 4.1.31
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: robin@robinspainhour.com
                CC: robin@robinspainhour.com


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
org.apache.coyote.tomcat4.CoyoteConnector?
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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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