You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2018/09/11 09:21:34 UTC
svn commit: r1840535 - in /tomcat/trunk:
java/org/apache/catalina/webresources/war/WarURLConnection.java
webapps/docs/changelog.xml
Author: remm
Date: Tue Sep 11 09:21:34 2018
New Revision: 1840535
URL: http://svn.apache.org/viewvc?rev=1840535&view=rev
Log:
62687: Expose content length information for resources when using a compressed war.
Modified:
tomcat/trunk/java/org/apache/catalina/webresources/war/WarURLConnection.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/org/apache/catalina/webresources/war/WarURLConnection.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/webresources/war/WarURLConnection.java?rev=1840535&r1=1840534&r2=1840535&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/webresources/war/WarURLConnection.java (original)
+++ tomcat/trunk/java/org/apache/catalina/webresources/war/WarURLConnection.java Tue Sep 11 09:21:34 2018
@@ -63,4 +63,17 @@ public class WarURLConnection extends UR
public long getLastModified() {
return wrappedJarUrlConnection.getLastModified();
}
+
+
+ @Override
+ public int getContentLength() {
+ return wrappedJarUrlConnection.getContentLength();
+ }
+
+
+ @Override
+ public long getContentLengthLong() {
+ return wrappedJarUrlConnection.getContentLengthLong();
+ }
+
}
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1840535&r1=1840534&r2=1840535&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Sep 11 09:21:34 2018
@@ -45,6 +45,14 @@
issues do not "pop up" wrt. others).
-->
<section name="Tomcat 9.0.13 (markt)" rtext="in development">
+ <subsection name="Catalina">
+ <changelog>
+ <fix>
+ <bug>62687</bug>: Expose content length information for resources
+ when using a compressed war. (remm)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Jasper">
<changelog>
<fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org