Merge branch 'stable-2.15' into stable-2.16

* stable-2.15:
  download_file.py: Synchronize curl options with gerrit core

Change-Id: Ic3af6e838ff726a317f390b416a88f6af8756a27
diff --git a/tools/download_file.py b/tools/download_file.py
index ecf00de..534a6d5 100755
--- a/tools/download_file.py
+++ b/tools/download_file.py
@@ -103,7 +103,7 @@
 
   print('Download %s' % src_url, file=stderr)
   try:
-    check_call(['curl', '--proxy-anyauth', '-ksfo', cache_ent, src_url])
+    check_call(['curl', '--proxy-anyauth', '-ksSfLo', cache_ent, src_url])
   except OSError as err:
     print('could not invoke curl: %s\nis curl installed?' % err, file=stderr)
     exit(1)