[gnutls-dev] gnutls_bye always return -50?
Nikos Mavroyanopoulos
nmav at gnutls.org
Fri Dec 19 10:50:53 CET 2003
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
More information about the Gnutls-dev
mailing list