Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix bug here

  • Loading branch information...
commit 0b7bfaf57f503e85d1a6f6ccbb8e2c8d69fd6178 1 parent c5450c2
Tomas Doran authored October 18, 2010
3  Changes
... ...
@@ -1,3 +1,6 @@
  1
+0.007
  2
+  - Fix the "Connection error: unknown error" issue on first retry
  3
+
1 4
 0.006
2 5
   - Have a much longer timeout for HTTP response than general IO as
3 6
     lighty will move the temporary file before responding.
4  lib/MogileFS/Client/Async.pm
@@ -10,7 +10,7 @@ use POSIX qw( EAGAIN );
10 10
 
11 11
 use base qw/ MogileFS::Client /;
12 12
 
13  
-our $VERSION = '0.006';
  13
+our $VERSION = '0.007';
14 14
 
15 15
 sub new_file { confess("new_file is unsupported in " . __PACKAGE__) }
16 16
 sub edit_file { confess("edit_file is unsupported in " . __PACKAGE__) }
@@ -123,8 +123,8 @@ sub store_file {
123 123
                 $cv->send;
124 124
                 return;
125 125
             }
126  
-            $cv->send;
127 126
             $socket_fh = $fh;
  127
+            $cv->send;
128 128
         };
129 129
         $cv->recv;
130 130
         if (! $socket_fh) {

0 notes on commit 0b7bfaf

Please sign in to comment.
Something went wrong with that request. Please try again.