Hi Team,
We are getting webserver response failure when the response message is large
then 20 kb, I was reading and looks like Apache Tomcat set "Transfer-Encoding =
Chunked" when the size of message increases 8 kb by default.
Can you please help how we can disable "Transfer-Encoding = Chunked" or
increase its size in Apache Tomcat 9.0.14 (we are using Windows Server). I also
tried adding below in server.xml but that did not help;
<Connector port="9012" protocol="HTTP/1.1"
relaxedQueryChars=" "<>[\]^`{|}"
relaxedPathChars=" "<>[\]^`{|}"
compressableMimeType="text/html,text/xml,text/css,text/javascript,
application/x-javascript,application/javascript"
compression="on"
compressionMinSize="128"
connectionTimeout="2000000"
noCompressionUserAgents="gozilla, traviata"
maxpostsize="-1"
maxHttpHeaderSize="65536"
maxTrailerSize="-1"
maxExtensionSize="-1"
redirectPort="9011" />
Many thanks for your help in advance.
Thanks & Regards,
Suraj Agrawal
----------------------------------------------------------------------
This message and any attachments are intended only for the use of the addressee
and may contain information that is privileged and confidential. If the reader
of the message is not the intended recipient or an authorized representative of
the intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication
in error, notify the sender immediately by return email and delete the message
and any attachments from your system.