avoid excessive garbage on uploads with Ruby 2.2+
commit42402dbe14f54220ffd208e935b33c997feacd24
authorEric Wong <e@80x24.org>
Fri, 27 Jan 2017 02:53:41 +0000 (27 02:53 +0000)
committerEric Wong <e@80x24.org>
Fri, 27 Jan 2017 03:41:52 +0000 (27 03:41 +0000)
tree20846bb60d20051c3f64a7a131b9cfd8524a75b8
parentdd53d097384154b9d2d100a9079f4dbf681a0925
avoid excessive garbage on uploads with Ruby 2.2+

This is a workaround for <https://bugs.ruby-lang.org/issues/13085>
since we use non-blocking sockets anyways.
lib/mogilefs/socket_common.rb
test/test_cmogstored.rb