-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 C.,
On 12/5/13, 12:53 PM, C. Benson Manica wrote: > The content I expect is in the neighborhood of 30K. What I get back > is > > $ curl -i http://localhost:8080/ > > HTTP/1.1 200 OK^M Server: Apache-Coyote/1.1^M Set-Cookie: > JSESSIONID=6ED488F581B8D3317261ADA2AD97CC20; Path=/; HttpOnly^M > Content-Type: text/html;charset=UTF-8^M Transfer-Encoding: > chunked^M Date: Thu, 05 Dec 2013 17:47:22 GMT^M ^M > > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " > http://www.w3.org/TR/html4/loose.dtd"> <!-- intervening content > elided --> var s Unfortunately, curl appears to be "handling" the content for you. I think you want to look at the raw bytes coming back. I can't remember if I installed it myself or what, but you might have tcpdump on your machine already. Try this: $ sudo tcpdump -Xi lo0 src port 8080 This will dump everything. You'll need to read a bit to see all the headers. You might also want to read-up on chunked transfer-encoding. > I'm not using a tool to inspect traffic, because if it becomes > that troublesome to debug a default install, I'm probably just > going to use jetty. (full disclosure: I *am* now using jetty, with > the same web application, and not running into any issues, so > whatever's going on is in Tomcat world.) Can you perhaps reduce the problem to something you could share with us? Maybe someone on the list would be willing to do all that work so that Tomcat can get fixed, assuming there is a problem. > In answer to your meta-question, brew seemed to do a reasonable job > with Tomcat, modulo this issue. I don't know that > /usr/local/Cellar/tomcat/7.0.47/libexec makes 100% sense for > $TOMCAT_HOME, but at least everything's in the same place. Good to know. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSoMzHAAoJEBzwKT+lPKRYV+AQAL2IEEnamhh8TsEes0BChuPl uIkhrHM5i8f3OKQ6Gx4QP2aYJcjPcWg+1aGf/O7TdJsYTiWn9lQVunBfivZxtDYg ABBlu3oqiOPjv/gZWbDy6adwwpCnWG8JPV4eiLtI1K3jHiu/XDABPQH1asw0uYXV 6NsY9cLfJsMe0WKa2IJoYDabrE0LXOo7v4jLdz3TLARQ50W8RWwqhxxJrme8hSe/ elCI7u2bLF93WTtWEjS6XZYDA///N54IvR1wjBDwjWAw/z5Zy+/25/RS+w3QGVDe tW51wxE0xI0Rqk44U+Kt3vi3iYp6+2CNmrT3ZnT9UzSVWmBRjM13E+tvdjiv7VLA gj+vGvRgEEtJecA3Di4+NlDsocxj865m3jEZqXDOKU1avoWDLWiIew1Ihb9qXpjU pFUZNFy+kgYnP8QBXnjW3DcJHhU43Jhb5UP1QazVDml1ZQlbX4KUwgiPOLiCr6mz VI58FUb3HZKSfyqB4xzt60TDJ7IexWq9PkjcF6wh9wkZtTMO4jV3Est7JAXcuz2w EmKp9l1/hmqKF487PHiQodIQuiK3Yis+W8cjGvubVV/vjsQ/rlFCSrt1uIbUfhoO aZ8QsBVL7UlpS3X1yqAnKPPUb84VtLteRK/DVzI13Nvxs9+KepOc68qlMZCJaXQv UNZgZmunwk6o6hiBHKe2 =bQW3 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org