Skip to content

Commit

Permalink
disable new keepalive feature in AE::HTTP 2.0
Browse files Browse the repository at this point in the history
eventually need to convert this to use the on_body
callback to deal with chunked encoding
  • Loading branch information
leedo committed Jan 7, 2011
1 parent 059f807 commit b169ec6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Web/ImageProxy.pm
Expand Up @@ -251,6 +251,7 @@ sub download {
headers => $self->req_headers,
on_header => sub {$self->check_headers(@_, $url)},
timeout => 60,
keepalive => 0,
want_body_handle => 1,
sub {
my ($handle, $headers) = @_;
Expand Down

0 comments on commit b169ec6

Please sign in to comment.