From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Calling 'select' from emacs_gnutls_pull
Date: Sat, 16 Feb 2013 21:30:53 +0200 [thread overview]
Message-ID: <83pq00qcnm.fsf@gnu.org> (raw)
In-Reply-To: <87bobk6sv9.fsf@lifelogs.com>
> From: Ted Zlatanov <tzz@lifelogs.com>
> Date: Sat, 16 Feb 2013 13:00:58 -0500
>
> EZ> Thanks. It would be good if you (or someone else) could describe a
> EZ> simple setup for reading stuff via GnuTLS from some URL, which I could
> EZ> then try on my machine under a debugger.
>
> Sure. It's actually quite simple to open a SSL connection to the HTTP/S
> port (the SERVICE parameter is either a string or an integer):
>
> #+begin_src lisp
> (open-gnutls-stream "tls" "tls-buffer" "yourserver.com" "https")
> #+end_src
>
> If GnuTLS support is enabled, opening any SSL connection with the
> `url-*' function should do it too... it's the default transport.
>
> You can also call `gnutls-negotiate' directly, see `gnutls.el' for the
> details.
OK. Any suggestions for yourserver.com that I could use?
Also, would there be any problems with certificates, and if so, where
can I find a bundle? (I'm quite ignorant about these issues, sorry.)
Thanks.
next prev parent reply other threads:[~2013-02-16 19:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-16 11:38 Calling 'select' from emacs_gnutls_pull Eli Zaretskii
2013-02-16 15:55 ` Ted Zlatanov
2013-02-16 16:52 ` Eli Zaretskii
2013-02-16 18:00 ` Ted Zlatanov
2013-02-16 19:30 ` Eli Zaretskii [this message]
2013-02-17 13:20 ` Ted Zlatanov
2013-02-22 11:15 ` Claudio Bley
2013-02-22 12:36 ` Eli Zaretskii
2013-02-22 15:17 ` Claudio Bley
2013-02-22 16:02 ` Eli Zaretskii
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/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83pq00qcnm.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.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.
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).