gnutls-devel
[Top][All Lists]
Advanced

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

Re: problems with slow connections


From: Simon Josefsson
Subject: Re: problems with slow connections
Date: Tue, 21 Apr 2009 15:13:49 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux)

"Code Join" <address@hidden> writes:

> I have build on my own a server application and a client application using 
> the 2.7.3 library with Microsoft Visual C++ 2008 Express. Till I have tested 
> my application with local connection everythings has gone ok. My first test 
> with remote connections has failed.
> The client shuts with socket error 10060 and the server reports the minimal 
> log you can see in screenshoot.

Can you enable more debugging?  E.g. something like this:

static void
tls_log_func (int level, const char *str)
{
  fprintf (stderr, "|<%d>| %s", level, str);
}

gnutls_global_set_log_function (tls_log_func);
gnutls_global_set_log_level (4711);

It may be that the client or server is simply misconfigured wrt
key/certificates.

> Can I use setsockopt to set my timeout?

Yes.

/Simon




reply via email to

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