From: Tanaka Akira <akr@...>
Date: 2008-12-04T16:17:26+09:00
Subject: [ruby-core:20298] Re: [Bug #814] NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>

In article <49371e2cc7949_8817b380f6377a@redmine.ruby-lang.org>,
  Aaron Patterson <redmine@ruby-lang.org> writes:

> Issue #814 has been updated by Aaron Patterson.
>
> File better.patch added
>
> Here is an even better patch.  With tests.

The buffering mechanism of OpenSSL::SSL::SSLSocket is
implemented in Ruby level.  Your read_nonblock ignore it.

* ext/openssl/lib/openssl/ssl.rb
* ext/openssl/lib/openssl/buffering.rb
-- 
Tanaka Akira