[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] Strange error when using libgnutls
From: |
Pedro Corte-Real |
Subject: |
Re: [Help-gnutls] Strange error when using libgnutls |
Date: |
Tue, 18 May 2004 14:06:18 +0100 |
On Tue, 2004-05-18 at 10:50 +0300, Nikos Mavroyanopoulos wrote:
> 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.
Any way around this?
Pedro CĂ´rte-Real.
signature.asc
Description: This is a digitally signed message part