[ruby-core:82907] Re: [Ruby trunk Bug#13921] buffered read_nonblock doesn't work as expected using SSLSocket

From: Eric Wong <normalperson@...>
Date: 2017-09-20 20:22:55 UTC
List: ruby-core #82907
cardoso_tiago@hotmail.com wrote:
> Issue #13921 has been updated by chucke (Tiago Cardoso).
> 
> 
> > Are you using sysread or sysread_nonblock directly, anywhere?
> 
> I'm not. But can you reproduce the error as well?

I haven't tried directly for this issue, but I've had code
running using SSLSocket#read_nonblock in yahns(*) for over a
year without noticing problems; though admittedly it doesn't
handle many uploads...

Do you have a standalone reproduction?


(*) git clone git://yhbt.net/yahns
    I use it as an HTTPS server and reverse proxy.

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread