replicate: enforce expected Content-Length in http_copy
commitb8a0674fe997c2db75ea5cd707cc638f106421fd
authorEric Wong <normalperson@yhbt.net>
Wed, 19 Sep 2012 01:00:39 +0000 (18 18:00 -0700)
committerEric Wong <normalperson@yhbt.net>
Sat, 10 Aug 2013 07:03:23 +0000 (10 07:03 +0000)
treece56aaaf880f929af408333fd035451d2b9d272c
parent7e7e53075cffe4726e7a3c400c90b1616ae2e21c
replicate: enforce expected Content-Length in http_copy

There's no reason we should ever skip Content-Length validation
if we know which FID we're replicating and have an FID object
handy.

Conflicts:
lib/MogileFS/Worker/Replicate.pm
lib/MogileFS/Worker/Replicate.pm