net-http-persistent usage respects timeouts
commita8bc9cd0fce3169eccc67b191fdb40abfae59547
authorEric Wong <normalperson@yhbt.net>
Wed, 31 Oct 2012 19:38:09 +0000 (31 19:38 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 31 Oct 2012 19:47:37 +0000 (31 19:47 +0000)
tree53ba22b5d2dddc5bfe328e297badadfa49e985e5
parent3e0b092efc2c5a5383a5d2063b830fe5d5e652f9
net-http-persistent usage respects timeouts

We now have separate Net::HTTP::Persistent instances
between clients that may have different timeouts and
also between GET and PUT requests.  This hurts our
ability to reuse sockets, but correctness is probably
more important.
lib/mogilefs.rb
lib/mogilefs/http_file.rb
lib/mogilefs/http_reader.rb
lib/mogilefs/mogilefs.rb
lib/mogilefs/new_file/content_range.rb
lib/mogilefs/nhp_fake.rb [new file with mode: 0644]
test/test_fresh.rb
test/test_mogilefs.rb