Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Small fix for Java 1.6.
  • Loading branch information
Pierre-Luc Paour committed Jul 20, 2006
1 parent 7a24004 commit 6ac8fb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions com/gallery/GalleryRemote/util/ImageUtils.java
Expand Up @@ -736,6 +736,7 @@ public static File download(Picture p, Dimension d, StatusUpdate su, Cancellable
long start = System.currentTimeMillis();

URLConnection conn = pictureUrl.openConnection();
conn.setDefaultUseCaches(false);
//conn.addRequestProperty("Connection", "Dont-keep-alive");
String userAgent = p.getAlbumOnServer().getGallery().getUserAgent();
if (userAgent != null) {
Expand Down

0 comments on commit 6ac8fb3

Please sign in to comment.