commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r833575 - in /commons/proper/vfs/trunk: core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java xdocs/changes.xml
Date Fri, 06 Nov 2009 22:17:06 GMT
Author: rgoers
Date: Fri Nov  6 22:17:06 2009
New Revision: 833575

URL: http://svn.apache.org/viewvc?rev=833575&view=rev
Log:
Apply patch for VFS-269

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
    commons/proper/vfs/trunk/xdocs/changes.xml

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java?rev=833575&r1=833574&r2=833575&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
Fri Nov  6 22:17:06 2009
@@ -120,7 +120,7 @@
             // Assume 0 content-length
             return 0;
         }
-        return Integer.parseInt(header.getValue());
+        return Long.parseLong(header.getValue());
     }
 
     /**

Modified: commons/proper/vfs/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/xdocs/changes.xml?rev=833575&r1=833574&r2=833575&view=diff
==============================================================================
--- commons/proper/vfs/trunk/xdocs/changes.xml (original)
+++ commons/proper/vfs/trunk/xdocs/changes.xml Fri Nov  6 22:17:06 2009
@@ -23,6 +23,9 @@
 
   <body>
     <release version="2.0" date="in SVN" description="">
+      <action dev="rgoers" type="fix" issue="VFS-269" due-to="Marek Zawirski">
+        HttpFileObject: unsupported content over 2GB length
+      </action>      
       <action dev="rgoers" type="fix" issue="VFS-287" due-to="Mircea-Eugen Ionica">
         LocalFileName objects are not released from AbstractFileSystem.listenerMap when all
listeners are removed.
       </action>



Mime
View raw message