From b77e58e108c0269db92c435ef81920ccc77f8136 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Sun, 10 Aug 2003 01:54:05 +0000 Subject: * ext/openssl/lib/openssl/buffering.rb: increase BLOCK_SIZE from 1k to 16k bytes. [ruby-talk:78603] * ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc): enable partial write to allow interruption in SSLSocket#sysread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/lib/openssl/buffering.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl/lib') diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb index 61eb9dcc0..f07e5bc4c 100644 --- a/ext/openssl/lib/openssl/buffering.rb +++ b/ext/openssl/lib/openssl/buffering.rb @@ -17,7 +17,7 @@ module Buffering include Enumerable attr_accessor :sync - BLOCK_SIZE = 1024 + BLOCK_SIZE = 1024*16 # # for reading. -- cgit