mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/drb/drb.rb: revert r52442 because it was for debugging, and after this
target problem was misteriously disappeared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f1df08e76d
commit
7b8986f445
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ module DRb
|
||||||
begin
|
begin
|
||||||
str = soc.read(sz)
|
str = soc.read(sz)
|
||||||
rescue
|
rescue
|
||||||
raise(DRbConnError, $!.message + " peer: #{soc.peeraddr[2]}:#{soc.peeraddr[1]}, sz: #{sz}", $!.backtrace)
|
raise(DRbConnError, $!.message, $!.backtrace)
|
||||||
end
|
end
|
||||||
raise(DRbConnError, 'connection closed') if str.nil?
|
raise(DRbConnError, 'connection closed') if str.nil?
|
||||||
raise(DRbConnError, 'premature marshal format(can\'t read)') if str.size < sz
|
raise(DRbConnError, 'premature marshal format(can\'t read)') if str.size < sz
|
||||||
|
|
Loading…
Reference in a new issue