[CONC-476] Built-in zlib is ancient Created: 2020-06-11  Updated: 2020-06-12

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Andrew Hutchings (Inactive) Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The zlib bundled into connector-c is 1.2.5 which is over 10 years old, many bugs have been fixed since.



 Comments   
Comment by Sergei Golubchik [ 2020-06-12 ]

why does C/C need to bundle zlib?

Comment by Andrew Hutchings (Inactive) [ 2020-06-12 ]

I guess it makes sense for a couple of platforms such as Windows, but it appears to do it by default on all platforms.

Comment by Sergei Golubchik [ 2020-06-12 ]

One can link statically with zlib — it makes sense on every platform where we deliver a self-containing package with minimum of external dependencies. On Windows, for example.

But it doesn't mean that the C/C source repository has to include zlib. Server links with PCRE2 statically for bintar and Windows builds, it links with other libraries statically too, whenever possible. But they aren't part of the server source repository.

Generated at Thu Feb 08 03:05:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.