Disable retries when storing non-rewindable data
commite814b15f1386e2ea53bc018aaa92aecb147400ae
authorEric Wong <normalperson@yhbt.net>
Tue, 8 Nov 2011 00:52:30 +0000 (8 00:52 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 8 Nov 2011 00:52:30 +0000 (8 00:52 +0000)
tree2e023b0d011d699a31f5aa217d5e03c670d6afd5
parent9bcff8f08dc084b880ef978c890a2706a1bbb304
Disable retries when storing non-rewindable data

If a user tries to pipe something to us and we can't
rewind on failure, propagate that error all the way
up to avoid risking a corrupted upload.
lib/mogilefs/http_file.rb
test/test_mogilefs.rb
test/test_mogilefs_integration.rb