diff options
author | wimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-01-02 21:50:38 +0000 |
---|---|---|
committer | wimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-01-02 21:50:38 +0000 |
commit | 5cf6b2ab2afe76cbcaae2141317187bec4f21bf4 (patch) | |
tree | 549008a91567f4c18855d35967ff919e5ff3c067 /java/src/com/tightvnc | |
parent | 8091a2f0c619ecc5aea08cddef6615a923ad593b (diff) | |
download | tigervnc-5cf6b2ab2afe76cbcaae2141317187bec4f21bf4.tar.gz tigervnc-5cf6b2ab2afe76cbcaae2141317187bec4f21bf4.zip |
Revert back to using cache for .fbs files.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2549 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/src/com/tightvnc')
-rw-r--r-- | java/src/com/tightvnc/rfbplayer/RfbProto.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/tightvnc/rfbplayer/RfbProto.java b/java/src/com/tightvnc/rfbplayer/RfbProto.java index 09259752..14186b6a 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbProto.java +++ b/java/src/com/tightvnc/rfbplayer/RfbProto.java @@ -95,10 +95,9 @@ class RfbProto { if (fbs != null) fbs.close(); - // open the connection, making sure that it does not use - // a cached version of the archive + // open the connection, and use caching URLConnection connection = url.openConnection(); - connection.setUseCaches(false); + connection.setUseCaches(true); fbs = new FbsInputStream(connection.getInputStream()); is = new DataInputStream(fbs); |