ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/handle/03_http_req.t
(Generate patch)

Comparing AnyEvent/t/handle/03_http_req.t (file contents):
Revision 1.3 by root, Sun Apr 27 19:36:55 2008 UTC vs.
Revision 1.4 by elmex, Sun Apr 27 19:41:31 2008 UTC

27 diag "error: $!"; 27 diag "error: $!";
28 $cv->broadcast 28 $cv->broadcast
29 }, 29 },
30 on_connect => sub { 30 on_connect => sub {
31 my ($ae_sock, $error) = @_; 31 my ($ae_sock, $error) = @_;
32 if ($error) { diag ("connect error: $!"); return } 32 if ($error) { diag ("connect error: $!"); $cv->broadcast; return }
33 33
34 $ae_sock->read (10, sub { 34 $ae_sock->read (10, sub {
35 my ($ae_sock, $data) = @_; 35 my ($ae_sock, $data) = @_;
36 $fbytes = $data; 36 $fbytes = $data;
37 37

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines