Author: rjung
Date: Sun Aug 12 11:08:29 2018
New Revision: 1837895

URL: http://svn.apache.org/viewvc?rev=1837895&view=rev
Log:
Use http URL in ASF closer script.

The script often redirects to http and the ant
get task doesn't follow https to http redirects
("Redirection detected from https to http.
Protocol switch unsafe, not allowed.").

Reverts small part of r1833989.

Modified:
    tomcat/trunk/build.properties.default
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1837895&r1=1837894&r2=1837895&view=diff
==============================================================================
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Sun Aug 12 11:08:29 2018
@@ -89,7 +89,7 @@ compile.debug=true
 # Do not pass -deprecation (-Xlint:deprecation) flag to javac
 compile.deprecation=false
 
-base-apache.loc.1=https://www.apache.org/dyn/closer.lua?action=download&filename=
+base-apache.loc.1=http://www.apache.org/dyn/closer.lua?action=download&filename=
 base-apache.loc.2=https://archive.apache.org/dist
 base-commons.loc.1=${base-apache.loc.1}/commons
 base-commons.loc.2=${base-apache.loc.2}/commons

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1837895&r1=1837894&r2=1837895&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sun Aug 12 11:08:29 2018
@@ -45,6 +45,15 @@
   issues do not "pop up" wrt. others).
 -->
 <section name="Tomcat 9.0.12 (markt)" rtext="in development">
+  <subsection name="Other">
+    <changelog>
+      <fix>
+        Switch the build script to use http for downloads from an ASF mirror
+        using the closer.lua script to avoid failures due to HTTPS to HTTP
+        redirects. (rjung)
+      </fix>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 9.0.11 (markt)" rtext="release in progress">
   <subsection name="Catalina">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to