unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Testing the gnutls support
@ 2010-10-07 21:42 Lars Magne Ingebrigtsen
  2010-10-08 13:45 ` Ted Zlatanov
  0 siblings, 1 reply; 18+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-07 21:42 UTC (permalink / raw)
  To: emacs-devel

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.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-04-02 20:26 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 21:42 Testing the gnutls support Lars Magne Ingebrigtsen
2010-10-08 13:45 ` Ted Zlatanov
2010-10-09 13:18   ` Lars Magne Ingebrigtsen
2010-10-09 13:37     ` Eli Zaretskii
2010-10-09 13:56       ` Lars Magne Ingebrigtsen
2010-10-10  4:50         ` Ted Zlatanov
2010-10-10 15:26           ` Lars Magne Ingebrigtsen
2010-10-11 14:02             ` Ted Zlatanov
2010-10-11 16:25               ` Lars Magne Ingebrigtsen
2010-10-11 17:25                 ` Ted Zlatanov
2010-10-14 21:37                   ` Lars Magne Ingebrigtsen
2011-03-28 18:52           ` Ted Zlatanov
2011-03-28 19:08             ` Ted Zlatanov
2011-03-29 20:29             ` Lars Magne Ingebrigtsen
2011-04-01 14:35               ` Ted Zlatanov
2011-04-01 15:39                 ` Lars Magne Ingebrigtsen
2011-04-01 20:11                   ` Ted Zlatanov
2011-04-02 20:26                     ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).