new_file: delay keepalive sockopts until read
commit2ce0b4a31bfae0b632d7ca031a52b24db7cc1b26
authorEric Wong <normalperson@yhbt.net>
Wed, 24 Oct 2012 08:13:13 +0000 (24 08:13 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 24 Oct 2012 08:19:36 +0000 (24 08:19 +0000)
tree4946ae60c5599638d06ec3920e2757b6899328fe
parent2cbeef0f29be4de815b802e705528b6f05d1bb29
new_file: delay keepalive sockopts until read

We don't need to set socket keepalive until we've successfully
written the request out and are awaiting a response.
lib/mogilefs/http_file.rb
lib/mogilefs/new_file/common.rb
lib/mogilefs/new_file/stream.rb