Parent Directory | Revision Log | Patch
revision 724 by torben, Mon May 10 22:22:09 2010 UTC | revision 727 by torben, Tue May 11 09:18:10 2010 UTC | |
---|---|---|
# | Line 82 public class CheckUpdates { | Line 82 public class CheckUpdates { |
82 | try { | try { |
83 | URL url = new URL(requestUrl); | URL url = new URL(requestUrl); |
84 | URLConnection conn = url.openConnection(); | URLConnection conn = url.openConnection(); |
85 | conn.setConnectTimeout(5); | conn.setConnectTimeout(2500); |
86 | ||
87 | String resultStr = readIOStream( conn.getInputStream() ); | String resultStr = readIOStream( conn.getInputStream() ); |
88 | resultStr = resultStr.trim(); | resultStr = resultStr.trim(); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |