At 19:50 3/10/2007, you wrote:

The "0" is the hex digint "Zero" the "terminal EOD" chunk is defined in HTTP1.1 as a chunk with a length of 0. This is what terminates the data for the current request.

I tried "explicitly" putting in the keep alive header, though it is deprecated in HTTP1.1 and is the default value if no header is supplied. As expected this has no (different) effect.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter,

Peter Kennard wrote:
> for HTTP1.1 (in tomcat 6)
>
> Does tomcat handle keep alive (ie: keeping a connection open for
> subsequent requests)
>
> If so under what circumstances is the connection closed (or kept open)?
>
> Sending chunked content, with a terminal "\r\n0\r\n" will cause the
> connection to be disconnected.
>
> As does only a termainal "\r\n0"

What is the "0" for?

Are you sending the "connection: keep-alive" header?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF81Jm9CaO5/Lv0PARAjzxAJ4o4Er8VnA/qe8uOwzwkXfBYHOTIgCghtHu
k1uq0TlPyEMa4oXX7clx5Rs=
=wIZy
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to