Max Header Size Limit

cancel
Showing results for 
Search instead for 
Did you mean: 
renatoc1
Active Member II

Max Header Size Limit

How can i set the max header size limit? The default is 8KB, right? I want to increase the size of that.

1 Reply
rt
Member II

Re: Max Header Size Limit

I think you are needing this: The Java and Alfresco World: Setup ACS-7.x, ASS-2.x and Local Transformation Service using distribut...

Open and edit server.xml file which can be found under: “/usr/local/alfresco-community70/tomcat/conf/” directory [Full path: /usr/local/alfresco-community70/tomcat/conf/server.xml] :
$ sudo vim /usr/local/alfresco-community70/tomcat/conf/server.xml
Find Connector with port "8080”.
Add the URIEncoding and maxHttpHeaderSize attributes.
<Connector port="8080" protocol="HTTP/1.1"
 URIEncoding="UTF-8" connectionTimeout="20000"
 maxHttpHeaderSize="32768"
 redirectPort="8443" />
Tomcat uses ISO-8859-1 character encoding when decoding URLs that are received from a browser. This can cause problems when creating, uploading, and renaming files with international characters. By default, Tomcat uses an 8 KB header buffer size, which might not be large enough for the Kerberos authentication protocol. We need to increase this buffer size.