socket_common: expand IO#write garbage workaround to 2.0 and 2.1
commita270f2d2f80d28a9c3f46b652ca222e80e130968
authorEric Wong <e@80x24.org>
Fri, 3 Feb 2017 22:56:06 +0000 (3 22:56 +0000)
committerEric Wong <e@80x24.org>
Fri, 3 Feb 2017 22:56:06 +0000 (3 22:56 +0000)
tree9f5efc0acb63e578af70c9147e2466dee2c84776
parentbb7783770314f720fc39ae9eac4fd7313ae5bbbb
socket_common: expand IO#write garbage workaround to 2.0 and 2.1

On reading more carefully, it seems this change is from
r34847 which landed in Ruby 2.0.  So we still need to support
Ruby 2.0 and 2.1 users.
lib/mogilefs/socket_common.rb