cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [libmicrohttpd] SSL handshake fails between libcurl and libgnutls/MHD

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Jan 2012 14:06:10 +0100 (CET)

On Mon, 23 Jan 2012, Christian Grothoff wrote:

> 5) The bug is not present in curl 7.22.0 but DOES occur in 7.23.0 and
> 7.23.1.

That certainly narrows it down quite significantly. I checked the changes done
to the GnuTLS code in libcurl between those two versions:

$ git log --oneline curl-7_22_0..curl-7_23_0 gtls.c
a873b95 gtls_connect_step1: remove use of deprecated functions
f5bb370 gtls.c: gnutls_transport_set_global_errno() deprecated in version 2.12.3
8036da8 gtls: only call gnutls_transport_set_lowat with <gnutls-2.12.0

... while it isn't completely unimaginable that the bug is due to a change in
a different source module I think these three commits are the prime suspects.

We only had a total of 210 commits in curl between 7.22.0 and 7.23.0 so
bisecting shouldn't be too time consuming if the procedure to get the bug to
appear isn't too slow.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-23