emacs-devel
[Top][All Lists]
Advanced

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

Testing the gnutls support


From: Lars Magne Ingebrigtsen
Subject: Testing the gnutls support
Date: Thu, 07 Oct 2010 23:42:40 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

I've done some testing of the gnutls support, and it pretty consistently
seems to fail if I request a lot of data.

For instance, if I do a header retrieval in a Gmail IMAP group, I end up
with this:

* 19 FETCH (UID 45 RFC822.SIZE 215416 BODYSTRUCTURE ((("TEXT" [...] 
("CREATION-DATE" "M
Process *nnimap*<1> connection broken by remote peer

That's after receiving 15496 characters.

So something isn't quite working as it should do...

This works, though:

(let ((process
       (open-gnutls-stream "http" (current-buffer)
                           "www.google.com" "https")))
  (process-send-string process "GET / HTTP/1.0\r\nServer: 
www.google.com\r\n\r\n"))

It seems related to the length of the text we receive.  Are there any
buffers in the gnutls library that needs flushing or anything?  

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

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