libmicrohttpd
[Top][All Lists]
Advanced

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

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


From: Nikos Mavrogiannopoulos
Subject: Re: [libmicrohttpd] SSL handshake fails between libcurl and libgnutls/MHD
Date: Thu, 19 Jan 2012 20:24:27 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16

On 01/19/2012 06:29 PM, Christian Grothoff wrote:

> Dear all,
> 
> After a recent update of libcurl / libgnutls on my Debian unstable
> system, the fully automated tests of GNU libmicrohttpd for HTTPS started
> to fail.  These tests start an HTTPS server using libgnutls and GNU
> libmicrohttpd and then try downloading a site using libcurl.
> Here is the key output:
> $ cd libmicrohttpd/src/testcurl/https/; make check
> curl version: libcurl/7.23.1 GnuTLS/2.12.14 zlib/1.2.3.4 libidn/1.23
> librtmp/2.3
> # ...
> curl_easy_perform failed: `SSL connect error'
> Error: received handshake message out of context
> Error (code: 4294967295)
> FAIL: mhds_session_info_test


Hello,
 The only fundamental that changed between 2.10 and 2.12 is the default
value of lowat to 0. If you were using select() to check for data in
gnutls' buffers you need to check [0]. If this is not your issue I'd
suggest to verify that what you experience persists with 2.12.16 (the
latest in 2.12), and then report again with more information (gnutls
errors codes and/or tcpdump info), as Simon already noted.

[0]. https://savannah.gnu.org/support/?107660#comment3

regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]