Hi,
I found the bug. It was not only gnutls specific but more global.
Tntnet failed to handle the exception after accepting a connection. The accept
loop breaked. The gnutls happened to throw an exception in accept under some
circumstances, so the gnutls-accept was deactivated.
I fixed that and uploaded a new version. The link is here:
http://www.tntnet.org/download/tntnet-1.6.1.2.tar.gz
You may want to try the new version of cxxtools also:
http://www.tntnet.org/download/cxxtools-1.4.7.tar.gz
Both are mainly bugfix releases and both increase the so-number so you may
need a ldconfig after installing both.
It would be great to hear, if this works for you.
Tommi
On Monday 24 March 2008 07:20:26 Yuri wrote:
> Hi Tommi,
>
> Thank you for the suggestion, I will give openssl a try.
>
> Yuri
>
> -----Original Message-----
> From: Tommi Mäkitalo <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: Re: [Tntnet-general] ERROR tntnet.ssl - error shutting down
> ssl-conneciton: error -59 in function gnutls_bye: GnuTLS internal error.
> Date: Sat, 22 Mar 2008 11:51:28 +0100
>
>
> Hi,
>
> I just tested gnutls and it does not hang. But it prints some error logs,
> although not the same as yours. Looks like I have to dig further into that.
> I use openssl normally if I need ssl. It is much better tested. You may run
> "./configure --with-ssl=openssl" when you build tntnet to use openssl. As
> far as I know openssl is better than gnutls. The problem with openssl is
> its license.
>
> Tommi
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general