Re: [PATCH v4] Work around curl-gnutls not liking to be reinitialized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Hommey <mh <at> glandium.org> writes:

> curl versions 7.16.3 to 7.18.0 included had a regression in which https
> requests following curl_global_cleanup/init sequence would fail with ASN1
> parser errors with curl-gnutls. Such sequences happen in some cases such
> as git fetch.

Hi git hackers,

I am the main libcurl author and maintainer.

While I agree that this is a regression and a bug in libcurl, it puzzles me why
you found it in the first place. curl_global_init and curl_global_cleanup should
only be needed to call once per program's lifetime. I can't think of any
practical use to do this re-init at all. You will only waste time on this.

So, your best fix for this problem is to simply to a curl_global_init() in the
beginning and a curl_global_cleanup() in the end.

(I'm not subscribed to this list, just responding via gmane.org)

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux