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

Peter,

On 2/12/2010 7:34 AM, Peter Crowther wrote:
> Chris, did you actually read the link or was that a knee-jerk
> response?  Notably the following, taken from between the first and
> second boxed pieces of code on that page:
> 
> "The openStream() method is actually just a shortcut for
> openConnection().getInputStream()."
> ... plus the source of openStream() to prove it.
> 
> So, yes, you *are* using a URLConnection internally.  And... correct,
> you're not setting any timeouts in your code.  But you want to.  That
> page provides code further down that allows you to set such a timeout.

It's possible that (the other) Chris is using a library (ep.ext,
whatever that is) that hides the complexities of the connection, etc.
His only recourse might be to abandon the use of that library and
instead code directly to URLConnection, where he /can/ set timeouts.

I'd first check the ep.ext library, though.

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

iEYEARECAAYFAkt1cpEACgkQ9CaO5/Lv0PCsagCdENcFHvtDaZi+sJGfOsj3Ok/f
kTYAoJYammldKfhOU5x/FpIFTB7oUrzQ
=XoCj
-----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