Permalink
Browse files

Fix bug here

  • Loading branch information...
1 parent c5450c2 commit 0b7bfaf57f503e85d1a6f6ccbb8e2c8d69fd6178 @bobtfish bobtfish committed Oct 18, 2010
Showing with 5 additions and 2 deletions.
  1. +3 −0 Changes
  2. +2 −2 lib/MogileFS/Client/Async.pm
View
@@ -1,3 +1,6 @@
+0.007
+ - Fix the "Connection error: unknown error" issue on first retry
+
0.006
- Have a much longer timeout for HTTP response than general IO as
lighty will move the temporary file before responding.
@@ -10,7 +10,7 @@ use POSIX qw( EAGAIN );
use base qw/ MogileFS::Client /;
-our $VERSION = '0.006';
+our $VERSION = '0.007';
sub new_file { confess("new_file is unsupported in " . __PACKAGE__) }
sub edit_file { confess("edit_file is unsupported in " . __PACKAGE__) }
@@ -123,8 +123,8 @@ sub store_file {
$cv->send;
return;
}
- $cv->send;
$socket_fh = $fh;
+ $cv->send;
};
$cv->recv;
if (! $socket_fh) {

0 comments on commit 0b7bfaf

Please sign in to comment.