tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat and "Chunked Transfer-Encoding"
Date Mon, 03 Feb 2014 17:56:53 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Walter,

On 2/3/14, 6:31 AM, Walter.Heestermans@toyota-europe.com wrote:
> 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

Just curious... does the response end up being 1957 bytes? I'm not
going to count them (nor can I... I don't know what newline style was
in use when the data was sent).

> <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="&nbsp;&nbsp;OK&nbsp;&nbsp;" onclick="javascript: disabled=1;
> doSubmit('ok');"  type="button"
>> &nbsp;<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&amp;fileAttr=CompletedDTPCaptionKit&amp;project=30452&amp;token=1358616358&amp;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>

That's odd. If you really are getting chunk #0 before the initial
headers, then what is chunk #1 supposed to include? Chunk #0 looks
like it's got a completely self-contained HTML document. Where would
the "other" chunk go into it?

What <Connector> are you using? Are you fronting the application
server with a web server like httpd, etc.? If so, how do you connect
the two of them (e.g. mod_jk, etc.)?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS79hlAAoJEBzwKT+lPKRY+A4P/3jgV6eqK2ccdL4wlhJcld94
h8mlyDXoyUDfuggi48SYNGAuqvh9QOqYz8FvEIZhc41iaghziW7BkrhVvh0u7vbv
wv7MEyYYTh2jjXvrzkKp8UIttQa8W5nvInzCG3ykIB82LFH5RwnTnezGBAtPtOp4
VVJxS+chL0XiRI/JqYm0bCOpWiKz5Xb+IV5TwrE5xcBYGB5Fi9waTrPZ6Ugm4Pdc
2e9RkcOVBefQDXDk2JeD+34B2um4J2e0xsS+irL9dSPBhXMhl8ai141/dkeRkJiF
vJ5/ET9umWoCjEb468K8hz/xHsiQ9mAxaBeMfu75eHhf/UZgcpdH933gXnJbJJGT
yCVYPuTWas/eLL9EiF0tBzrFthwgzFwiheSEk0ghi6shp3U8/IEk4AlVaA5lG09s
4f3qhSmwqFW+ITUkAOeGZAAlXLB6N8lH3D7o46KYq+Oqe9+2ogqXkTQq8R9gNQgF
CS3jaoRymWayNnGGGt+v/b2mHzc0Tt07l0i6QayhPmchWtM1W7wIuBIM3R6iyvod
8ZyOL4bAWfqGzgsfTV9gXS6gvA12Jii6fNqd72l5gPSf6GmCr5VPyWsCeAiu0CyW
ZBLN/dCyAxdLuqNF3Me8c1vWOi/VxQ6TsgI8k/1EmWTQUxOeiajaY5Aup0jPjjpe
cbfzmMBH7/ib5IKg9Hgp
=bIhK
-----END PGP SIGNATURE-----

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


Mime
View raw message