help-gnutls
[Top][All Lists]
Advanced

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

[Help-gnutls] Strange error when using libgnutls


From: Pedro Corte-Real
Subject: [Help-gnutls] Strange error when using libgnutls
Date: Mon, 17 May 2004 22:43:29 +0100

When using a slightly modified version of the example code at:

http://www.gnu.org/software/gnutls/documentation/gnutls/gnutls.html#SECTION00731000000000000000

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.

I'm using libgnutls10 from debian sid at version 1.0.4-3.

I can reproduce this reliably against my local apache-ssl (OpenSSL)
server. This does not seam to happen when testing with
https://www.gnutls.org:5555/.

I'm not subscribed to the list so please CC me on replies.

Greetings,

Pedro CĂ´rte-Real.

Attachment: fetcher_ssl.c
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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