about summary refs log tree commit homepage
path: root/lib/rainbows/client.rb
DateCommit message (Collapse)
2011-01-06eliminate timed_read module
No need to split it out when there's only a single class using it.
2011-01-04globally refactor Range handling for responses
Rack::Utils::HeaderHash is still very expensive in Rack 1.2, especially for simple things that we want to run as fast as possible with minimal interference. HeaderHash is unnecessary for most requests that do not send Content-Range in responses.
2010-11-05avoid Errno::EAGAIN, harder
Errno::EAGAIN is still a problem under Ruby 1.9.2, so try harder to avoid it and use kgio methods. Even when 1.9.3 is available, kgio will still be faster as exceptions are slower than normal return values.
2010-10-22code shuffling for kgio
Despite the large number of changes, most of it is code movement here.