help-gnutls
[Top][All Lists]
Advanced

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

Re: [Help-gnutls] Strange error when using libgnutls


From: Nikos Mavroyanopoulos
Subject: Re: [Help-gnutls] Strange error when using libgnutls
Date: Tue, 18 May 2004 10:50:33 +0300
User-agent: KMail/1.6.1

On Tuesday 18 May 2004 00:43, Pedro Corte-Real wrote:

> When using a slightly modified version of the example code at:
> http://www.gnu.org/software/gnutls/documentation/gnutls/gnutls.html#SECTION
>00731000000000000000
> The only modification I've done is to run gnutls_record_recv in a loop
> to fetch everything until it gets an error or EOF.
> The file is attatched.
> I get this error:
> "A TLS packet with unexpected length was received."
> This happens when receiving the last block of information when
> gnutls_record_recv returns an error (-9) instead of 0 for EOF.
This is because the other end does not properly terminate the
TLS session. Several https servers do that.

> Greetings,
> Pedro CĂ´rte-Real.

-- 
Nikos Mavroyanopoulos




reply via email to

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