Revert "http_file: do not reopen opened file (on retry)"
commit52a19f3c4ed9da852eac809276d7f64fe4defbef
authorEric Wong <normalperson@yhbt.net>
Mon, 14 Nov 2011 10:57:43 +0000 (14 10:57 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 14 Nov 2011 10:58:50 +0000 (14 10:58 +0000)
tree10bb6d2b24680511db6325b0e35dd7cd9f80987a
parent754b8077b55e37627c32d1339227001d509d8517
Revert "http_file: do not reopen opened file (on retry)"

As it turns out, the previous change was wrong since we have to
reopen it anyways as "upload" is called in a loop.  Attempting
to rewind @active is still a good error-check, though.

This reverts commit 754b8077b55e37627c32d1339227001d509d8517.
lib/mogilefs/http_file.rb