Hi Mark, Thanks for your response, yes the source application is not able to handle "Chunked" response so we want to disable it or at least increase the size.
We recently ,moved from IIS to apache tomcat as default webserver for application. Also, I tried adding below in server.xml in HTTP/1.1 section but that did not helped. - maxTrailerSize="-1" - maxExtensionSize="-1" Thanks & Regards, Suraj Agrawal -----Original Message----- From: Mark Thomas <ma...@apache.org> Sent: Tuesday, March 31, 2020 12:51 PM To: users@tomcat.apache.org Subject: Re: Increase Transfer-Encoding limit in Apache Tomcat 9.0.14 WARNING: Do not click links or open attachments unless you recognize the source of the email and know the contents are safe. ********************************************************************** On 31/03/2020 17:35, Agrawal, Suraj (CORP) wrote: > > 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. You haven't demonstrated that those two statements are cause and effect. Please describe the failure in detail. Tomcat will quite happily serve responses that are multiple Gb in size so I'd be surprised if this turned out to be a Tomcat issue. Are you saying that the client you are using can't handled a chunked response? > 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; Adding what, exactly? The entire Connector? An attribute? Something to an attribute? Mark > > <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. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org ---------------------------------------------------------------------- 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. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org