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

LE,

On 1/25/2010 5:46 AM, LE wrote:
> thanks for the valve wrapper!

No problem. I wrote a program a long time ago that scans a class and
dumps a wrapper for it. :)

> But still not sure where i can "grab" the time for the "first byte"
> leaving tomcat to the client.

I warned you that this wouldn't be straightforward. One way is to wrap
the OutputStream and/or Writer with one that stores the time when the
first non-trivial write() call is made.

> I call now the response.getContentCount() method in every ActionHook action 
> method.
> 
> every buffer write i get an ACTION_COMMIT code: 3 event
> if the response is larger than 8184 bytes i get more ACTION_COMMIT code: 3 
> events (size of response/8184 = quantity of ACTION_COMMIT code: 3 events).
> 
> Is the first ACTION_COMMIT code: 3 event sent after the client response to 
> the first write ?

I have no idea: I don't know anything about Comet. :(

Good luck,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktd9ZoACgkQ9CaO5/Lv0PAu1ACfZH3igZjWKKwx5WJSi9XBKPx8
AeoAoJ4lOsz0vKhCk/qvMTw0YkbFInSF
=r+OX
-----END PGP SIGNATURE-----

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

Reply via email to