Changeset 7313
- Timestamp:
- Mar 28, 2017, 11:50:38 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.10-stable/src/clients/web/net/sf/basedb/clients/web/servlet/Download.java
r7159 r7313 185 185 dc = sc.newDbControl(); 186 186 f = File.getByPath(dc, path, false); 187 in = f.getDownloadStream(startByte); 187 188 // The ETag is used to support pause/resume when downloading 188 189 // Seems to work without it in Firefox but not in IE … … 222 223 response.setHeader("ETag", eTag); 223 224 224 in = f.getDownloadStream(startByte); 225 dc.close(); 225 dc.commit(); 226 226 out = response.getOutputStream(); 227 227 response.flushBuffer();
Note: See TracChangeset
for help on using the changeset viewer.