cURL / Mailing Lists / curl-library / Single Mail


RE: What is the Best way to compile libCURL with OpenSSL & ZLIB

From: Ambuj Jain <>
Date: Wed, 18 May 2011 02:00:19 -0700

Am Mi, 18.05.2011, 09:58 schrieb Ambuj Jain:
> combinations. Please suggest me what is the best way for compiling these
> libraries.
> What are the differences in the below combinations.
> 1. If we compile OpenSSL without ZLIB, but libCURL with ZLIB

Sounds like there would be no ZLIB support within OpenSSL then, however
size of resultign libcurl is not decreased - No point in that - at least
not from my point of view.

> 2. If we compile OpenSSL with ZLIB and also compile libCURL with

That sounds good. All features enabled for both libs - why would you want
to have it any other way??

As per my understanding here, the application payload first gets compressed by libCurl and then resulting libcurl data again be compressed by OpenSSL. Is it true?

> 3. If we compile OpenSSL with ZLIB, but libCURL without ZLIB

Why? You already included the ZLIB with the OpenSSL build... so this
doesn't make sense to me. I can't see a reason for that - excepct if you
want to disable gzip decompression of http responses.

I am using libcurl library just for https communication..

List admin:

Confidentiality And Disclaimer Notice
Please do not print this email unless it is absolutely necessary. The
information contained in this electronic message and any attachments to this
message are intended for the exclusive use of the addressee(s) and may contain
proprietary, confidential or privileged information. If you are not the intended
recipient, you should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately and destroy all copies of this message and any
attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. &hellip;&hellip;

List admin:
Received on 2011-05-18