From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Testing the gnutls support Date: Thu, 07 Oct 2010 23:42:40 +0200 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286487783 16183 80.91.229.12 (7 Oct 2010 21:43:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 21:43:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 07 23:43:02 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P3yEw-0006aC-9L for ged-emacs-devel@m.gmane.org; Thu, 07 Oct 2010 23:43:02 +0200 Original-Received: from localhost ([127.0.0.1]:51679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3yEv-0007jV-Om for ged-emacs-devel@m.gmane.org; Thu, 07 Oct 2010 17:43:01 -0400 Original-Received: from [140.186.70.92] (port=46998 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3yEo-0007jL-I1 for emacs-devel@gnu.org; Thu, 07 Oct 2010 17:42:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3yEj-0002iQ-Pt for emacs-devel@gnu.org; Thu, 07 Oct 2010 17:42:54 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3yEj-0002iA-G7 for emacs-devel@gnu.org; Thu, 07 Oct 2010 17:42:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P3yEi-0006Y4-0x for emacs-devel@gnu.org; Thu, 07 Oct 2010 23:42:48 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 23:42:48 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 23:42:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEU7Dw8OBAObXS/x58XX vIJSIxrLlks+qHXdAAACaklEQVQ4jXVUy3LbMAyE3DJnKTO+O4zEcydk9QEiyjOtBD1nKBr//wld ynm2KTTiA4sFQAISGTKP/i850UHoYOjwSTu7ORspZEw+xg/6iWgV4UIHljy+6x+EDNn1YaOxTnmS KyckXjJJFkmR2JXuRLdhWuM8ZbOeZJ1Mvg9U42RONMDvWjLclN+pFNoCKS+HCVq4WBthfbKhSmTS WkSs0CTTUVY70aqpMieqPMkTW5kK3sekk2GtGhNplPxkL+LmkmV04fnAmrQGsjXZyEluLvNFbjip S0WdelKNlauebjhczE0qrGqXEUDSZqXTmLjkp1QrgFQVWWlNDmDVwk5VsVnAQvCyzVAwPJfKy33h ukS1noqt89holgvyHBtQuURKjhe2rs5ucchyTLqVMahSQNahpurdUgHUYF1xXJh8gEFTjQBgim0q VXGJvjELAs1WofNpmy928zi5bsG2sHCiuAXkGz1H8lxwEO+XMZS4+UaKAQ+hLUbdvEd21QdWqygx Kg2g6RDOpnustr32nnfA+8jMC0Bw4CUC2YFw7ZzrxC8Lem0omL54Yf8JeDPg+AXwoVffXaEzXmJc AUWRbWoV2c+BseI0icm+iVq3z2sbHIkIGlGsPcvQYyHnY1OtDdilHyC9ERmGDqO8AnnYpW+LbsCH QMcr0F2BQc4NONNA/Qf7JrtF1w90T3dy2w3/CAqFO/rxP+D5K8AHW5rbbui7Nr4Dvz4Efg9GZsw0 9NTO0NF1wkP43LE9Im2irqM90cbqd9M2wapfiTI1Ov4Bzc0eEMyjv/v2k6h5NEJ0PuRjJ9kQffcP 0RsBCQzzB5/F7JmCW36SAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: The Cure's _Japanese Whispers_: "The Upstairs Room" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:r/ASylzswHZuqsc6p4poAZCME0M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131441 Archived-At: 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