Commit 2570416 for zlib

commit 25704162641a9f11191c9e46ee207aa93ed6c0c0
Author: Mark Adler <git@madler.net>
Date:   Thu Feb 12 01:25:19 2026 -0800

    Update URLs to use https.

    Also some dead links were repaired or removed. Some http links
    were left as is where attempting https did not work, or where it
    is a historical record.

diff --git a/FAQ b/FAQ
index 43d51b7..95c1a82 100644
--- a/FAQ
+++ b/FAQ
@@ -3,8 +3,8 @@


 If your question is not there, please check the zlib home page
-http://zlib.net/ which may have more recent information.
-The latest zlib FAQ is at http://zlib.net/zlib_faq.html
+https://zlib.net/ which may have more recent information.
+The latest zlib FAQ is at https://zlib.net/zlib_faq.html


  1. Is zlib Y2K-compliant?
@@ -38,7 +38,7 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html
     made with more input or output space.  A Z_BUF_ERROR may in fact be
     unavoidable depending on how the functions are used, since it is not
     possible to tell whether or not there is more output pending when
-    strm.avail_out returns with zero.  See http://zlib.net/zlib_how.html for a
+    strm.avail_out returns with zero.  See https://zlib.net/zlib_how.html for a
     heavily annotated example.

  6. Where's the zlib documentation (man pages, etc.)?
@@ -109,8 +109,8 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html

 16. Can zlib decode Flate data in an Adobe PDF file?

-    Yes. See http://www.pdflib.com/ . To modify PDF forms, see
-    http://sourceforge.net/projects/acroformtool/ .
+    Yes. See https://www.pdflib.com/ . To modify PDF forms, see
+    https://sourceforge.net/projects/acroformtool/ .

 17. Why am I getting this "register_frame_info not found" error on Solaris?

@@ -239,7 +239,7 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html
     As far as we know, no.  In fact, that was originally the whole point behind
     zlib.  Look here for some more information:

-    http://www.gzip.org/#faq11
+    https://web.archive.org/web/20180729212847/http://www.gzip.org/#faq11

 32. Can zlib work with greater than 4 GB of data?

@@ -287,7 +287,7 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html
     Probably what you want is to use zlib in Java. zlib is already included
     as part of the Java SDK in the java.util.zip package. If you really want
     a version of zlib written in the Java language, look on the zlib home
-    page for links: http://zlib.net/ .
+    page for links: https://zlib.net/ .

 35. I get this or that compiler or source-code scanner warning when I crank it
     up to maximally-pedantic. Can't you guys write proper code?
@@ -318,9 +318,9 @@ The latest zlib FAQ is at http://zlib.net/zlib_faq.html

     zlib doesn't support encryption.  The original PKZIP encryption is very
     weak and can be broken with freely available programs.  To get strong
-    encryption, use GnuPG, http://www.gnupg.org/ , which already includes zlib
+    encryption, use GnuPG, https://www.gnupg.org/ , which already includes zlib
     compression.  For PKZIP compatible "encryption", look at
-    http://www.info-zip.org/
+    https://infozip.sourceforge.net/

 39. What's the difference between the "gzip" and "deflate" HTTP 1.1 encodings?

diff --git a/README b/README
index beba22e..4723b8e 100644
--- a/README
+++ b/README
@@ -21,11 +21,11 @@ make_vms.com.

 Questions about zlib should be sent to <zlib@gzip.org>, or to Gilles Vollant
 <info@winimage.com> for the Windows DLL version.  The zlib home page is
-http://zlib.net/ .  Before reporting a problem, please check this site to
+https://zlib.net/ .  Before reporting a problem, please check this site to
 verify that you have the latest version of zlib; otherwise get the latest
 version and check whether the problem still exists or not.

-PLEASE read the zlib FAQ http://zlib.net/zlib_faq.html before asking for help.
+PLEASE read the zlib FAQ https://zlib.net/zlib_faq.html before asking for help.

 Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan.  1997
 issue of Dr.  Dobb's Journal; a copy of the article is available at
@@ -43,9 +43,9 @@ can be found at https://github.com/pmqs/IO-Compress .

 A Python interface to zlib written by A.M. Kuchling <amk@amk.ca> is
 available in Python 1.5 and later versions, see
-http://docs.python.org/library/zlib.html .
+https://docs.python.org/3/library/zlib.html .

-zlib is built into tcl: http://wiki.tcl.tk/4610 .
+zlib is built into tcl: https://wiki.tcl-lang.org/page/zlib .

 An experimental package to read and write files in .zip format, written on top
 of zlib by Gilles Vollant <info@winimage.com>, is available in the
@@ -69,7 +69,7 @@ Notes for some targets:
 - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with
   other compilers. Use "make test" to check your compiler.

-- For PalmOs, see http://palmzlib.sourceforge.net/
+- For PalmOs, see https://palmzlib.sourceforge.net/


 Acknowledgments:
diff --git a/contrib/README.contrib b/contrib/README.contrib
index 173f1d4..0368fed 100644
--- a/contrib/README.contrib
+++ b/contrib/README.contrib
@@ -6,7 +6,7 @@ for help about these, not the zlib authors. Thanks.

 ada/        by Dmitriy Anisimkov <anisimkov@yahoo.com>
         Support for Ada
-        See http://zlib-ada.sourceforge.net/
+        See https://zlib-ada.sourceforge.net/

 blast/      by Mark Adler <madler@alumni.caltech.edu>
         Decompressor for output of PKWare Data Compression Library (DCL)
@@ -37,7 +37,7 @@ iostream3/  by Ludwig Schwardt <schwardt@sun.ac.za>
 minizip/    by Gilles Vollant <info@winimage.com>
         Mini zip and unzip based on zlib
         Includes Zip64 support by Mathias Svensson <mathias@result42.com>
-        See http://www.winimage.com/zLibDll/minizip.html
+        See https://www.winimage.com/zLibDll/minizip.html

 pascal/     by Bob Dellaca <bobdl@xtra.co.nz> et al.
         Support for Pascal
diff --git a/contrib/ada/readme.txt b/contrib/ada/readme.txt
index dd136c8..6d6f0ca 100644
--- a/contrib/ada/readme.txt
+++ b/contrib/ada/readme.txt
@@ -59,7 +59,7 @@ the main functionality of ZLib.Ada.
 The routines from the package specifications are commented.


-Homepage: http://zlib-ada.sourceforge.net/
+Homepage: https://zlib-ada.sourceforge.net/
 Author: Dmitriy Anisimkov <anisimkov@yahoo.com>

 Contributors: Pascal Obry <pascal@obry.org>, Steve Sangwine <sjs@essex.ac.uk>
diff --git a/contrib/dotzlib/DotZLib/ChecksumImpl.cs b/contrib/dotzlib/DotZLib/ChecksumImpl.cs
index de88dcf..f2117fa 100644
--- a/contrib/dotzlib/DotZLib/ChecksumImpl.cs
+++ b/contrib/dotzlib/DotZLib/ChecksumImpl.cs
@@ -2,7 +2,7 @@

 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
diff --git a/contrib/dotzlib/DotZLib/CircularBuffer.cs b/contrib/dotzlib/DotZLib/CircularBuffer.cs
index c1cab3a..0c71297 100644
--- a/contrib/dotzlib/DotZLib/CircularBuffer.cs
+++ b/contrib/dotzlib/DotZLib/CircularBuffer.cs
@@ -2,7 +2,7 @@

 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
diff --git a/contrib/dotzlib/DotZLib/CodecBase.cs b/contrib/dotzlib/DotZLib/CodecBase.cs
index c4bc8b8..3d7edef 100644
--- a/contrib/dotzlib/DotZLib/CodecBase.cs
+++ b/contrib/dotzlib/DotZLib/CodecBase.cs
@@ -2,7 +2,7 @@

 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
diff --git a/contrib/dotzlib/DotZLib/Deflater.cs b/contrib/dotzlib/DotZLib/Deflater.cs
index c247792..89dd52a 100644
--- a/contrib/dotzlib/DotZLib/Deflater.cs
+++ b/contrib/dotzlib/DotZLib/Deflater.cs
@@ -2,7 +2,7 @@

 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
diff --git a/contrib/dotzlib/DotZLib/DotZLib.cs b/contrib/dotzlib/DotZLib/DotZLib.cs
index be184b4..b3b64b2 100644
--- a/contrib/dotzlib/DotZLib/DotZLib.cs
+++ b/contrib/dotzlib/DotZLib/DotZLib.cs
@@ -2,7 +2,7 @@

 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
diff --git a/contrib/dotzlib/DotZLib/GZipStream.cs b/contrib/dotzlib/DotZLib/GZipStream.cs
index 58091d3..b0c8ee6 100644
--- a/contrib/dotzlib/DotZLib/GZipStream.cs
+++ b/contrib/dotzlib/DotZLib/GZipStream.cs
@@ -2,7 +2,7 @@

 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
diff --git a/contrib/dotzlib/DotZLib/Inflater.cs b/contrib/dotzlib/DotZLib/Inflater.cs
index 8ed5451..38a8e3a 100644
--- a/contrib/dotzlib/DotZLib/Inflater.cs
+++ b/contrib/dotzlib/DotZLib/Inflater.cs
@@ -2,7 +2,7 @@

 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
diff --git a/contrib/dotzlib/DotZLib/UnitTests.cs b/contrib/dotzlib/DotZLib/UnitTests.cs
index ef2043f..6b532e2 100644
--- a/contrib/dotzlib/DotZLib/UnitTests.cs
+++ b/contrib/dotzlib/DotZLib/UnitTests.cs
@@ -2,7 +2,7 @@
 // © Copyright Henrik Ravn 2004
 //
 // Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
 //

 using System;
@@ -17,7 +17,7 @@ using NUnit.Framework;
 // Unit tests for the DotZLib class library
 // ----------------------------------------
 //
-// Use this with NUnit 2 from http://www.nunit.org
+// Use this with NUnit 2 from https://www.nunit.org
 //

 namespace DotZLibTests
diff --git a/contrib/dotzlib/readme.txt b/contrib/dotzlib/readme.txt
index 47454fc..44c4996 100644
--- a/contrib/dotzlib/readme.txt
+++ b/contrib/dotzlib/readme.txt
@@ -55,4 +55,4 @@ Build instructions:
 Copyright (c) Henrik Ravn 2004

 Use, modification and distribution are subject to the Boost Software License, Version 1.0.
-(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+(See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
diff --git a/contrib/gcc_gvmat64/gvmat64.S b/contrib/gcc_gvmat64/gvmat64.S
index 51a46eb..2bace0a 100644
--- a/contrib/gcc_gvmat64/gvmat64.S
+++ b/contrib/gcc_gvmat64/gvmat64.S
@@ -30,9 +30,8 @@
 ;     misrepresented as being the original software
 ;  3. This notice may not be removed or altered from any source distribution.
 ;
-;         http://www.zlib.net
-;         http://www.winimage.com/zLibDll
-;         http://www.muppetlabs.com/~breadbox/software/assembly.html
+;         https://www.zlib.net
+;         https://www.muppetlabs.com/~breadbox/software/assembly.html
 ;
 ; to compile this file for zLib, I use option:
 ;   gcc -c -arch x86_64 gvmat64.S
@@ -169,9 +168,6 @@ printf("#define dsNiceMatch     %u\n",(int)(((char*)&(s->nice_match))-((char*)s)
 ; windows:
 ; parameter 1 in rcx(deflate state s), param 2 in rdx (cur match)

-; see http://weblogs.asp.net/oldnewthing/archive/2004/01/14/58579.aspx and
-; http://msdn.microsoft.com/library/en-us/kmarch/hh/kmarch/64bitAMD_8e951dd2-ee77-4728-8702-55ce4b5dd24a.xml.asp
-;
 ; All registers must be preserved across the call, except for
 ;   rax, rcx, rdx, r8, r9, r10, and r11, which are scratch.

diff --git a/contrib/iostream2/zstream.h b/contrib/iostream2/zstream.h
index 43d2332..ce62dc1 100644
--- a/contrib/iostream2/zstream.h
+++ b/contrib/iostream2/zstream.h
@@ -4,7 +4,6 @@
  * Christian Michelsen Research AS
  * Advanced Computing
  * Fantoftvegen 38, 5036 BERGEN, Norway
- * http://www.cmr.no
  *
  * Permission to use, copy, modify, distribute and sell this software
  * and its documentation for any purpose is hereby granted without fee,
diff --git a/contrib/minizip/MiniZip64_info.txt b/contrib/minizip/MiniZip64_info.txt
index 57d7152..86487d1 100644
--- a/contrib/minizip/MiniZip64_info.txt
+++ b/contrib/minizip/MiniZip64_info.txt
@@ -2,7 +2,7 @@ MiniZip - Copyright (c) 1998-2010 - by Gilles Vollant - version 1.1 64 bits from

 Introduction
 ---------------------
-MiniZip 1.1 is built from MiniZip 1.0 by Gilles Vollant ( http://www.winimage.com/zLibDll/minizip.html )
+MiniZip 1.1 is built from MiniZip 1.0 by Gilles Vollant ( https://www.winimage.com/zLibDll/minizip.html )

 When adding ZIP64 support into minizip it would result into risk of breaking compatibility with minizip 1.0.
 All possible work was done for compatibility.
@@ -11,7 +11,7 @@ All possible work was done for compatibility.
 Background
 ---------------------
 When adding ZIP64 support Mathias Svensson found that Even Rouault have added ZIP64
-support for unzip.c into minizip for a open source project called gdal ( http://www.gdal.org/ )
+support for unzip.c into minizip for a open source project called gdal ( https://www.gdal.org/ )

 That was used as a starting point. And after that ZIP64 support was added to zip.c
 some refactoring and code cleanup was also done.
@@ -36,14 +36,9 @@ Credits
  Mathias Svensson  - ZIP64 zip support
  Mathias Svensson  - BZip Compression method support in zip

- Resources
+ Resource

- ZipLayout   http://result42.com/projects/ZipFileLayout
-             Command line tool for Windows that shows the layout and information of the headers in a zip archive.
-             Used when debugging and validating the creation of zip files using MiniZip64
-
-
- ZIP App Note  http://www.pkware.com/documents/casestudies/APPNOTE.TXT
+ ZIP App Note  https://www.pkware.com/documents/casestudies/APPNOTE.TXT
                Zip File specification


diff --git a/contrib/minizip/crypt.h b/contrib/minizip/crypt.h
index 821c913..d1827c3 100644
--- a/contrib/minizip/crypt.h
+++ b/contrib/minizip/crypt.h
@@ -23,7 +23,7 @@
    This code support the "Traditional PKWARE Encryption".

    The new AES encryption added on Zip format by Winzip (see the page
-   http://www.winzip.com/aes_info.htm ) and PKWare PKZip 5.x Strong
+   https://www.winzip.com/aes_info.htm ) and PKWare PKZip 5.x Strong
    Encryption is not supported.
 */

diff --git a/contrib/minizip/ioapi.c b/contrib/minizip/ioapi.c
index 9c2e1b2..0498988 100644
--- a/contrib/minizip/ioapi.c
+++ b/contrib/minizip/ioapi.c
@@ -1,10 +1,10 @@
 /* ioapi.h -- IO base function header for compress/uncompress .zip
-   part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications for Zip64 support
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

          For more info read MiniZip_info.txt

diff --git a/contrib/minizip/ioapi.h b/contrib/minizip/ioapi.h
index 66c16c1..569857f 100644
--- a/contrib/minizip/ioapi.h
+++ b/contrib/minizip/ioapi.h
@@ -1,10 +1,10 @@
 /* ioapi.h -- IO base function header for compress/uncompress .zip
-   part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications for Zip64 support
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

          For more info read MiniZip_info.txt

diff --git a/contrib/minizip/iowin32.c b/contrib/minizip/iowin32.c
index 6509566..abd5153 100644
--- a/contrib/minizip/iowin32.c
+++ b/contrib/minizip/iowin32.c
@@ -1,11 +1,11 @@
 /* iowin32.c -- IO base function header for compress/uncompress .zip
      Version 1.1, February 14h, 2010
-     part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+     part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications for Zip64 support
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

      For more info read MiniZip_info.txt

diff --git a/contrib/minizip/iowin32.h b/contrib/minizip/iowin32.h
index a23a65d..345ac93 100644
--- a/contrib/minizip/iowin32.h
+++ b/contrib/minizip/iowin32.h
@@ -1,11 +1,11 @@
 /* iowin32.h -- IO base function header for compress/uncompress .zip
      Version 1.1, February 14h, 2010
-     part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+     part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications for Zip64 support
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

          For more info read MiniZip_info.txt

diff --git a/contrib/minizip/miniunz.c b/contrib/minizip/miniunz.c
index 616c303..9a79cf4 100644
--- a/contrib/minizip/miniunz.c
+++ b/contrib/minizip/miniunz.c
@@ -1,15 +1,15 @@
 /*
    miniunz.c
    Version 1.1, February 14h, 2010
-   sample part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   sample part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications of Unzip for Zip64
          Copyright (C) 2007-2008 Even Rouault

          Modifications for Zip64 support on both zip and unzip
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )
 */

 #if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
@@ -187,7 +187,7 @@ static int makedir(const char *newdir) {

 static void do_banner(void) {
     printf("MiniUnz 1.1, demo of zLib + Unz package written by Gilles Vollant\n");
-    printf("more info at http://www.winimage.com/zLibDll/unzip.html\n\n");
+    printf("more info at https://www.winimage.com/zLibDll/unzip.html\n\n");
 }

 static void do_help(void) {
diff --git a/contrib/minizip/minizip.c b/contrib/minizip/minizip.c
index 18d866b..7429ce5 100644
--- a/contrib/minizip/minizip.c
+++ b/contrib/minizip/minizip.c
@@ -1,15 +1,15 @@
 /*
    minizip.c
    Version 1.1, February 14h, 2010
-   sample part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   sample part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications of Unzip for Zip64
          Copyright (C) 2007-2008 Even Rouault

          Modifications for Zip64 support on both zip and unzip
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )
 */


@@ -164,7 +164,7 @@ static int check_exist_file(const char* filename) {

 static void do_banner(void) {
     printf("MiniZip 1.1, demo of zLib + MiniZip64 package, written by Gilles Vollant\n");
-    printf("more info on MiniZip at http://www.winimage.com/zLibDll/minizip.html\n\n");
+    printf("more info on MiniZip at https://www.winimage.com/zLibDll/minizip.html\n\n");
 }

 static void do_help(void) {
diff --git a/contrib/minizip/unzip.c b/contrib/minizip/unzip.c
index fa2c6c9..8513aec 100644
--- a/contrib/minizip/unzip.c
+++ b/contrib/minizip/unzip.c
@@ -1,14 +1,14 @@
 /* unzip.c -- IO for uncompress .zip files using zlib
    Version 1.1, February 14h, 2010
-   part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications of Unzip for Zip64
          Copyright (C) 2007-2008 Even Rouault

          Modifications for Zip64 support on both zip and unzip
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

          For more info read MiniZip_info.txt

@@ -111,7 +111,7 @@


 const char unz_copyright[] =
-   " unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll";
+   " unzip 1.01 Copyright 1998-2004 Gilles Vollant - https://www.winimage.com/zLibDll/minizip.html";

 /* unz_file_info64_internal contain internal info about a file in zipfile*/
 typedef struct unz_file_info64_internal_s
diff --git a/contrib/minizip/unzip.h b/contrib/minizip/unzip.h
index 8e78564..a3f1894 100644
--- a/contrib/minizip/unzip.h
+++ b/contrib/minizip/unzip.h
@@ -1,14 +1,14 @@
 /* unzip.h -- IO for uncompress .zip files using zlib
    Version 1.1, February 14h, 2010
-   part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications of Unzip for Zip64
          Copyright (C) 2007-2008 Even Rouault

          Modifications for Zip64 support on both zip and unzip
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

          For more info read MiniZip_info.txt

diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c
index 60e603d..4fc87d4 100644
--- a/contrib/minizip/zip.c
+++ b/contrib/minizip/zip.c
@@ -1,11 +1,11 @@
 /* zip.c -- IO on .zip files using zlib
    Version 1.1, February 14h, 2010
-   part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications for Zip64 support
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

          For more info read MiniZip_info.txt

@@ -93,7 +93,7 @@
 #  define DEF_MEM_LEVEL  MAX_MEM_LEVEL
 #endif
 #endif
-const char zip_copyright[] =" zip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll";
+const char zip_copyright[] =" zip 1.01 Copyright 1998-2004 Gilles Vollant - https://www.winimage.com/zLibDll/minizip.html";


 #define SIZEDATA_INDATABLOCK (4096-(4*4))
diff --git a/contrib/minizip/zip.h b/contrib/minizip/zip.h
index 2a0fac6..522c6c7 100644
--- a/contrib/minizip/zip.h
+++ b/contrib/minizip/zip.h
@@ -1,11 +1,11 @@
 /* zip.h -- IO on .zip files using zlib
    Version 1.1, February 14h, 2010
-   part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
+   part of the MiniZip project - ( https://www.winimage.com/zLibDll/minizip.html )

-         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+         Copyright (C) 1998-2010 Gilles Vollant (minizip) ( https://www.winimage.com/zLibDll/minizip.html )

          Modifications for Zip64 support
-         Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+         Copyright (C) 2009-2010 Mathias Svensson ( https://result42.com )

          For more info read MiniZip_info.txt

diff --git a/contrib/puff/puff.c b/contrib/puff/puff.c
index d759825..999099f 100644
--- a/contrib/puff/puff.c
+++ b/contrib/puff/puff.c
@@ -25,7 +25,7 @@
  * code is meant to supplement RFC 1951, which formally describes the deflate
  * format:
  *
- *    http://www.zlib.org/rfc-deflate.html
+ *    https://datatracker.ietf.org/doc/html/rfc1951
  */

 /*
diff --git a/contrib/testzlib/testzlib.c b/contrib/testzlib/testzlib.c
index c4b0148..6fc4131 100644
--- a/contrib/testzlib/testzlib.c
+++ b/contrib/testzlib/testzlib.c
@@ -18,7 +18,7 @@ void MyDoMinus64(LARGE_INTEGER *R,LARGE_INTEGER A,LARGE_INTEGER B)
 }

 #ifdef _M_X64
-// see http://msdn2.microsoft.com/library/twchhe95(en-us,vs.80).aspx for __rdtsc
+// see https://learn.microsoft.com/en-us/cpp/intrinsics/rdtsc?view=msvc-170 for __rdtsc
 unsigned __int64 __rdtsc(void);
 void BeginCountRdtsc(LARGE_INTEGER * pbeginTime64)
 {
diff --git a/doc/algorithm.txt b/doc/algorithm.txt
index 029e5a3..db3668d 100644
--- a/doc/algorithm.txt
+++ b/doc/algorithm.txt
@@ -206,4 +206,4 @@ Compression,'' IEEE Transactions on Information Theory, Vol. 23, No. 3,
 pp. 337-343.

 ``DEFLATE Compressed Data Format Specification'' available in
-http://tools.ietf.org/html/rfc1951
+https://datatracker.ietf.org/doc/html/rfc1951
diff --git a/examples/zlib_how.html b/examples/zlib_how.html
index 286308b..59af43e 100644
--- a/examples/zlib_how.html
+++ b/examples/zlib_how.html
@@ -541,10 +541,10 @@ int main(int argc, char **argv)
 <hr>
 <i>Last modified 12 February 2026<br>
 Copyright &#169; 2004-2026 Mark Adler</i><br>
-<a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/">
+<a rel="license" href="https://creativecommons.org/licenses/by-nd/4.0/">
 <img alt="Creative Commons License" style="border-width:0"
 src="https://i.creativecommons.org/l/by-nd/4.0/88x31.png"></a>
-<a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/">
+<a rel="license" href="https://creativecommons.org/licenses/by-nd/4.0/">
 Creative Commons Attribution-NoDerivatives 4.0 International License</a>.
 </body>
 </html>
diff --git a/win32/README-WIN32.txt b/win32/README-WIN32.txt
index 9e2b7c9..79d2822 100644
--- a/win32/README-WIN32.txt
+++ b/win32/README-WIN32.txt
@@ -3,8 +3,8 @@ ZLIB DATA COMPRESSION LIBRARY
 zlib 1.3.1.2 is a general purpose data compression library.  All the code is
 thread safe.  The data format used by the zlib library is described by RFCs
 (Request for Comments) 1950 to 1952 in the files
-http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
-and rfc1952.txt (gzip format).
+https://datatracker.ietf.org/doc/html/rfc1951 (zlib format), rfc1951.txt
+(deflate format), and rfc1952.txt (gzip format).

 All functions of the compression library are documented in the file zlib.h
 (volunteer to write man pages welcome, contact zlib@gzip.org).  Two compiled
@@ -12,11 +12,11 @@ examples are distributed in this package, example and minigzip.  The example_d
 and minigzip_d flavors validate that the zlib1.dll file is working correctly.

 Questions about zlib should be sent to <zlib@gzip.org>.  The zlib home page
-is http://zlib.net/ .  Before reporting a problem, please check this site to
+is https://zlib.net/ .  Before reporting a problem, please check this site to
 verify that you have the latest version of zlib; otherwise get the latest
 version and check whether the problem still exists or not.

-PLEASE read DLL_FAQ.txt, and the zlib FAQ http://zlib.net/zlib_faq.html before
+PLEASE read DLL_FAQ.txt, and the zlib FAQ https://zlib.net/zlib_faq.html before
 asking for help.


@@ -59,7 +59,7 @@ The package zlib-1.3.1.2-win32-x86.zip will contain the following files:
 All .pdb files above are entirely optional, but are very useful to a developer
 attempting to diagnose program misbehavior or a crash.  Many additional
 important files for developers can be found in the zlib127.zip source package
-available from http://zlib.net/ - review that package's README file for details.
+available from https://zlib.net/ - review that package's README file for details.


 Acknowledgments:
diff --git a/win32/zlib1.rc b/win32/zlib1.rc
index e4847d8..66e5b51 100644
--- a/win32/zlib1.rc
+++ b/win32/zlib1.rc
@@ -27,7 +27,7 @@ BEGIN
       VALUE "OriginalFilename",	"zlib1.dll\0"
       VALUE "ProductName",	"zlib\0"
       VALUE "ProductVersion",	ZLIB_VERSION "\0"
-      VALUE "Comments",		"For more information visit http://www.zlib.net/\0"
+      VALUE "Comments",		"For more information visit https://www.zlib.net/\0"
     END
   END
   BLOCK "VarFileInfo"
diff --git a/zlib.3 b/zlib.3
index 187e17a..5dc8b7c 100644
--- a/zlib.3
+++ b/zlib.3
@@ -57,7 +57,7 @@ written on top of
 by Gilles Vollant (info@winimage.com),
 is available at:
 .IP
-http://www.winimage.com/zLibDll/minizip.html
+https://www.winimage.com/zLibDll/minizip.html
 and also in the
 .I contrib/minizip
 directory of the main
@@ -68,7 +68,7 @@ The
 .I zlib
 web site can be found at:
 .IP
-http://zlib.net/
+https://zlib.net/
 .LP
 The data format used by the
 .I zlib
@@ -99,7 +99,7 @@ Please read the
 .I zlib
 FAQ at:
 .IP
-http://zlib.net/zlib_faq.html
+https://zlib.net/zlib_faq.html
 .LP
 before asking for help.
 Send questions and/or comments to zlib@gzip.org,
diff --git a/zlib.3.pdf b/zlib.3.pdf
index a051aeb..c4bb117 100644
Binary files a/zlib.3.pdf and b/zlib.3.pdf differ