kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: kgio@librelist.com
Subject: Re: Like OpenSSL::SSL::SSLSocket#connect_nonblock
Date: Mon, 9 Apr 2012 03:22:16 +0000	[thread overview]
Message-ID: <20120409032216.GC24089@dcvr.yhbt.net> (raw)
In-Reply-To: CALiegfm4jpEJ5ViZqYOH++m_F6SqTqL0sPinTycSFQ98e298Ew@mail.gmail.com

Iñaki Baz Castillo <ibc@aliax.net> wrote:
> Hi, I need something like OpenSSL::SSL::SSLSocket#connect_nonblock but
> without raising exceptions, you know ;)
> 
> Unfortunatelly it seems that Kgio:SSL is just for servers, am I right?

See Kgio::SSLConnector, the lib/flipper* stuff uses it for connecting to
SSL servers.  There's no separate API for SSL session establishment in
kgio-monkey, just expect all read/write methods to potentially return
either :wait_readable or :wait_writable.

  reply	other threads:[~2012-04-09  3:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-06 21:50 Like OpenSSL::SSL::SSLSocket#connect_nonblock Iñaki Baz Castillo
2012-04-09  3:22 ` Eric Wong [this message]
2012-04-09 18:31   ` Iñaki Baz Castillo
2012-04-09 18:44     ` Iñaki Baz Castillo
2012-04-10 20:26       ` Eric Wong
2012-04-10 20:50         ` Iñaki Baz Castillo
2012-04-10 21:02           ` Eric Wong
2012-04-10 21:55             ` Iñaki Baz Castillo

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://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120409032216.GC24089@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=kgio@librelist.com \
    /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://yhbt.net/kgio.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).