Here the text format of the traffic GET /ws/ws_ext?servlet=upload_file_project_attributes&fileAttr=CompletedDTPCaptionKit&project=30452&token=1358616358&random=0.5308450920567584 HTTP/1.1 Host: td3worldserverlb.toyota-europe.com Accept: text/html, application/xhtml+xml, */* Accept-Language: nl-NL User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0) Accept-Encoding: gzip, deflate DNT: 1 Cookie: ACE_COOKIE=R660302447; TD3World=R760446058 SM_TRANSACTIONID: =?UTF-8?B?MGE2NDA2MDEtNDAzMy01MjdjYzlkMy0wMDBhLTJjMWI0NjJi?= SM_AUTHTYPE: =?UTF-8?B?QXV0bw==?= SM_SDOMAIN: =?UTF-8?B?LnRveW90YS1ldXJvcGUuY29t?= X-Forwarded-For: 77.60.99.113 X-Forwarded-Host: mytechdoc.toyota-europe.com X-Forwarded-Server: mytechdoc.toyota-europe.com Connection: Keep-Alive
7a5 <html> <head> <title>Idiom WorldServer - File Upload Page</title> <link rel='stylesheet' href='style.css' type='text/css'> <script language=JavaScript src='general.js'></script> <script language=JavaScript src='ips.js'></script> <script language=JavaScript src='ws_ext?servlet=include_proxy&fileName=ips.js&token=1358616358'></script> <script language=JavaScript>location.href=location.href+'&customopenertoken='+ getOpenerToken();</script> </head> <body onload="requestFocus('uploadedFile')"> <form style="width:100%; height: 100%" method=post> <table width="100%" height="100%" cellpadding=5><tr height="1%"><td class=popup_dialog_header>File Upload</td></tr><tr height="100%"><td valign=top> <i>Click on Browse button to browse and select the file to upload. </i><p><input name="uploadedFile" value="" type="file" ><input name="fileAttr" value="CompletedDTPCaptionKit" type="hidden" ><input name="token" value="1358616358" type="hidden" ><input name="nextStep" value="upload" type="hidden" > <script language=Javascript> document.forms[0].encoding='multipart/form-data'; </script> </td></tr> <tr height="1%"><td><input name="ok" value=" OK " onclick="javascript: disabled=1; doSubmit('ok');" type="button" > <input name="cancel" value="Cancel" onclick="self.close();" type="button" ></td></tr></table><script language=javascript>self.focus()</script><input type=hidden name=formAction value="ws_ext?servlet=upload_file_project_attributes&fileAttr=CompletedDTPCaptionKit&project=30452&token=1358616358&random=6674"> <input type=hidden name=submittedBy value=""> <input type=hidden name=methodUsed value=GET> <script language="javascript"> function doSubmit(name) { document.forms[0].action=document.forms[0].formAction.value; document.forms[0].target='_self'; document.forms[0].submittedBy.value=name; document.forms[0].submit(); } </script> </form> </body> </html> 0 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Transfer-Encoding: chunked Date: Fri, 08 Nov 2013 11:24:05 GMT 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> 45 . <script language=javascript>window.scrollTo(0, 100000000);</script> Walter From: Mark Thomas <ma...@apache.org> To: Tomcat Users List <users@tomcat.apache.org>, Date: 03/02/2014 12:10 Subject: Re: Tomcat and "Chunked Transfer-Encoding" On 03/02/2014 10:47, walter.heesterm...@toyota-europe.com wrote: > Hi, > > I have requested the trext format. In the meantime, how can I disable the > 'Chunked Transfer-Encoding' inside Tomcat server? You can't. Mark > > Regards > Walter > > > > > From: Mark Thomas <ma...@apache.org> > To: Tomcat Users List <users@tomcat.apache.org>, > Date: 03/02/2014 11:15 > Subject: Re: Tomcat and "Chunked Transfer-Encoding" > > > > On 03/02/2014 09:34, walter.heesterm...@toyota-europe.com wrote: >> Hi, >> >> We have some weird behaviopur with one of our applications using >> apache-tomcat-6.0.37. >> >> This is the report of the newtork engineer: >> /The application (or app server - apache/coyote) is returning a response >> with "Chunked Transfer-Encoding", but is sending the first chunks before >> giving the http headers (that defines the chunk-encoding). > > That strikes me as pretty unlikely given the length of time 6.0.x has > been released and the lack of similar reports. > > It may be possible if the application is doing something it shouldn't, > like holding on to a reference to a response object and re-using it > across multiple requests. > >> The result is that the client receives a response stating by the >> definition on the chunk lenght (7a5), and as the header >> "Content-Encoding" has not been received, that length definition is >> interpreted as response characters. >> >> Here is a dump of the communication between TARS Reverse Proxy and the >> Back-end. (You may notice the response headers - 200 OK - after the >> first chunk (in blue, starting by "7a5", the length in HEX )/ >> >> >> See attached screenshot tcpstream.jpg. > > This list strips most attachments. Just put the plain text of the HTTP > request and response headers in the body of your e-mail. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > > This e-mail may contain confidential information. > If you are not an addressee or otherwise authorised to receive this message, you should not use, copy, disclose or take any action based on this e-mail. > If you have received this e-mail in error, please inform the sender promptly and delete this message and any attachments immediately. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org This e-mail may contain confidential information. If you are not an addressee or otherwise authorised to receive this message, you should not use, copy, disclose or take any action based on this e-mail. If you have received this e-mail in error, please inform the sender promptly and delete this message and any attachments immediately.