excalibur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@apache.org>
Subject Implementing timeout on URLSource
Date Tue, 07 Feb 2006 13:54:46 GMT
Hello,

Today Sylvain's blog is down, which is causing infinite timeout on
my Cocoon-based portal...

This is why you will find attached a patch to implement timeout on
URLSource.  The  problem is that HttpURLConnection  timeout in the
JDK is only available in JDK 1.5:

http://java.sun.com/j2se/1.5.0/docs/api/java/net/HttpURLConnection.html

How to achieve this cleanly?
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

Mime
View raw message