[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] gnutls_bye always return -50?
From: |
Nikos Mavroyanopoulos |
Subject: |
Re: [gnutls-dev] gnutls_bye always return -50? |
Date: |
Fri, 19 Dec 2003 10:50:53 +0200 |
User-agent: |
Mutt/1.5.4i |
On Fri, Dec 19, 2003 at 04:28:06AM +0100, Simon Josefsson wrote:
> In my client code I use:
> do
> ret = gnutls_bye(session, GNUTLS_SHUT_RDWR);
> while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN);
>
> if (ret != GNUTLS_E_SUCCESS)
> shishi_error_printf (handle, "TLS Disconnected failed (%d): %s",
> ret, gnutls_strerror (ret));
[...]
> both of these return errors, from the client:
> TLS Disconnected failed (-50): The request is invalid.
This was a bug in the gnutls_bye(). I've fixed that in the cvs.
> Thanks,
> Simon
--
Nikos Mavroyanopoulos