about summary refs log tree commit homepage
path: root/lib/mogilefs/new_file/stream.rb
DateCommit message (Collapse)
2019-10-28fix more indentation warnings
Not sure how or why I missed these with commit 4e0f8155a62711ae ("fix indentation warnings with ruby trunk"), but this cleans them up.
2017-12-20new_file/stream: remove unused variable
oops :x
2016-12-29use opt_str_freeze to avoid allocations in a few places
None of these are too performance critical, but err on the safe side and avoid allocations whenever possible.
2015-09-14more idiomatic comparisons with constants
These generates smaller bytecode than explicitly comparing to a constant value.
2013-09-10new_file/stream: correct declare errors array correctly
This caused NameError failures when we ran out of file descriptors.
2012-10-24new_file: delay keepalive sockopts until read
We don't need to set socket keepalive until we've successfully written the request out and are awaiting a response.
2011-12-10rename "Put" namespace to "NewFile"
This should make documentation easier