From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#24075: tls/https support in Guile (through r6rs binary ports?) Date: Sun, 06 Nov 2016 22:06:32 +0100 Message-ID: <8737j4z5bb.fsf@gnu.org> References: <8760rss8al.fsf@dustycloud.org> <87a8gstgn6.fsf@pobox.com> <878tvqqfkq.fsf@dustycloud.org> <87r36p6aaz.fsf@dustycloud.org> <87fun56987.fsf@gnu.org> <87k2cg5uih.fsf@dustycloud.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1478466438 27081 195.159.176.226 (6 Nov 2016 21:07:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2016 21:07:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24075@debbugs.gnu.org To: Christopher Allan Webber Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Nov 06 22:07:13 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3Ueh-0005w9-Gp for guile-bugs@m.gmane.org; Sun, 06 Nov 2016 22:07:07 +0100 Original-Received: from localhost ([::1]:47778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3Uek-00073S-F8 for guile-bugs@m.gmane.org; Sun, 06 Nov 2016 16:07:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3Uef-000734-8A for bug-guile@gnu.org; Sun, 06 Nov 2016 16:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3Uec-0005nw-32 for bug-guile@gnu.org; Sun, 06 Nov 2016 16:07:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3Ueb-0005nj-Va for bug-guile@gnu.org; Sun, 06 Nov 2016 16:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c3Ueb-0006Mm-Nx for bug-guile@gnu.org; Sun, 06 Nov 2016 16:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 06 Nov 2016 21:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24075 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 24075-submit@debbugs.gnu.org id=B24075.147846640524450 (code B ref 24075); Sun, 06 Nov 2016 21:07:01 +0000 Original-Received: (at 24075) by debbugs.gnu.org; 6 Nov 2016 21:06:45 +0000 Original-Received: from localhost ([127.0.0.1]:47167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3UeL-0006MI-5w for submit@debbugs.gnu.org; Sun, 06 Nov 2016 16:06:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3UeJ-0006M5-QG for 24075@debbugs.gnu.org; Sun, 06 Nov 2016 16:06:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3UeB-0005Vn-54 for 24075@debbugs.gnu.org; Sun, 06 Nov 2016 16:06:38 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3UeB-0005Vb-1l; Sun, 06 Nov 2016 16:06:35 -0500 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]:50822 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c3UeA-0008DJ-EP; Sun, 06 Nov 2016 16:06:34 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Brumaire an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87k2cg5uih.fsf@dustycloud.org> (Christopher Allan Webber's message of "Sun, 06 Nov 2016 12:32:38 -0600") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8451 Archived-At: Christopher Allan Webber skribis: > First of all, the response body starts in the wrong place... it should > start with "". Then, somewhere in the middle it switches > to garbage output. I'm not sure why. [...] > + (let ((record ((gnutls-ref 'session-record-port) session))) > + (define (read! bv start count) > + (define read-bv (get-bytevector-n record count)) > + (if (eof-object? read-bv) > + 0 ; read! returns 0 on eof-object > + (let ((read-bv-len (bytevector-length read-bv))) > + (bytevector-copy! read-bv 0 bv 0 read-bv-len) > + read-bv-len))) Looks like =E2=80=98start=E2=80=99 is ignored here. Could that be the reas= on? Ludo=E2=80=99.