Letractively / servdroidweb

Automatically exported from code.google.com/p/servdroidweb
0 stars 0 forks source link

Long files #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With some long files the file length served is 0. The problem is in the class 
HttpRequestHandler.java, in the line:

responseHeader.put("Content-Length:", new Integer(fis.available()).toString());

The method available() is not precise enough 

Original issue reported on code.google.com by jpuigs...@service2media.com on 23 May 2012 at 8:45

GoogleCodeExporter commented 8 years ago

Original comment by joanpuig...@gmail.com on 14 Aug 2012 at 2:19