Browse Source

Fix for Zconn not creating a new connection when zebra goes away and comes

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Chris Cormack 17 years ago
committed by Joshua Ferraro
parent
commit
bf37fd8269
  1. 2
      C4/Context.pm

2
C4/Context.pm

@ -494,7 +494,7 @@ sub Zconn {
my $auth=shift;
my $piggyback=shift;
my $syntax=shift;
if ( defined($context->{"Zconn"}->{$server}) ) {
if ( defined($context->{"Zconn"}->{$server}) && !$context->{"Zconn"}->{$server}->exception() ) {
return $context->{"Zconn"}->{$server};
# No connection object or it died. Create one.
}else {

Loading…
Cancel
Save