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

From: Eric Wong <normalperson@...>
Date: 2017-09-19 20:48:54 UTC
List: ruby-core #82882
Reading the implementation of read_nonblock and consume_rbuff in
ext/openssl/lib/openssl/buffering.rb and I'm not seeing a
problem in those pure Ruby methods...

Are you using sysread or sysread_nonblock directly, anywhere?
That would cause problems because it's not respectin @rbuffer.

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

In This Thread

Prev Next