From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: 24075@debbugs.gnu.org
Subject: bug#24075: tls/https support in Guile (through r6rs binary ports?)
Date: Sun, 06 Nov 2016 22:06:32 +0100 [thread overview]
Message-ID: <8737j4z5bb.fsf@gnu.org> (raw)
In-Reply-To: <87k2cg5uih.fsf@dustycloud.org> (Christopher Allan Webber's message of "Sun, 06 Nov 2016 12:32:38 -0600")
Christopher Allan Webber <cwebber@dustycloud.org> skribis:
> First of all, the response body starts in the wrong place... it should
> start with "<!DOCTYPE html>". 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 ‘start’ is ignored here. Could that be the reason?
Ludo’.
next prev parent reply other threads:[~2016-11-06 21:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 15:55 bug#24075: tls/https support in Guile (through r6rs binary ports?) Christopher Allan Webber
2016-08-04 20:37 ` Andy Wingo
2016-08-21 15:58 ` Christopher Allan Webber
2016-11-05 18:39 ` Christopher Allan Webber
2016-11-05 19:02 ` Ludovic Courtès
2016-11-06 17:37 ` Christopher Allan Webber
2016-11-06 21:13 ` Ludovic Courtès
2016-11-07 18:14 ` Christopher Allan Webber
2016-11-07 20:13 ` Ludovic Courtès
2016-11-06 18:32 ` Christopher Allan Webber
2016-11-06 21:06 ` Ludovic Courtès [this message]
2016-11-07 4:40 ` Christopher Allan Webber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737j4z5bb.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=24075@debbugs.gnu.org \
--cc=cwebber@dustycloud.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).