httpfile: use Net::HTTP::NB, remove LWP::UserAgent
commitd5cd4cfb0bd9cb4e6ba200063f40e7c0869835ff
authorEric Wong <normalperson@yhbt.net>
Tue, 11 Sep 2012 22:11:35 +0000 (11 15:11 -0700)
committerEric Wong <normalperson@yhbt.net>
Sat, 10 Aug 2013 07:03:23 +0000 (10 07:03 +0000)
tree19d6c1511c38fb43d48b52a72c549b237a59ce80
parent81433c27e0c2aed4f65c2b38f67c46f77607e2c0
httpfile: use Net::HTTP::NB, remove LWP::UserAgent

This allows us to use the same HTTP connections between
digest and HTTP size checks, reducing the number of open
connections we need in the Fsck worker.
lib/MogileFS/HTTPFile.pm
lib/MogileFS/Server.pm
lib/MogileFS/Test.pm