ruby/ext/openssl/lib/openssl
gotoyuzo c0309bdb02 * ext/openssl/ossl_ssl.c (ossl_ssl_read):
- should return an empty string if specified length to read is 0.
  - should check for pending data and wait for fd before reading.
  - call underlying IO's sysread if SSL session is not started.
  [ruby-dev:24072], [ruby-dev:24075]

* ext/openssl/ossl_ssl.c (ossl_ssl_write):
  - call underlying IO's syswrite if SSL session is not started.

* ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method
  OpenSSL::SSL#pending.

* ext/openssl/lib/openssl/buffering.rb: should not use select.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-23 05:06:17 +00:00
..
bn.rb * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
buffering.rb * ext/openssl/ossl_ssl.c (ossl_ssl_read): 2004-08-23 05:06:17 +00:00
cipher.rb * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
digest.rb * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ssl.rb * ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argument 2004-06-30 18:21:39 +00:00
x509.rb backport from Ruby-1.9. 2004-01-29 06:49:11 +00:00