Skip to content

Commit

Permalink
Call backend_response_received after reproxy reponse
Browse files Browse the repository at this point in the history
Currently backend_response_received is only called after the primary response
(which contains X-Reproxy-URL).
  • Loading branch information
athomason committed Sep 21, 2011
1 parent 10557ca commit 1e935ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Perlbal/ClientProxy.pm
Expand Up @@ -283,6 +283,8 @@ sub backend_response_received {
return 1;
}

return $self->{service}->run_hook('backend_response_received', $be);

# a response means that we are no longer currently waiting on a reproxy, and
# don't want to retry this URI
$self->{currently_reproxying} = undef;
Expand Down

0 comments on commit 1e935ee

Please sign in to comment.