crash on Perlbal 1.51

Kevin Rosenberg kevin at rosenberg.net
Thu Nov 30 08:49:13 UTC 2006


Del Raco wrote:
> I understand the first hack.  Can you elaborate on the
> second one?  
> [...]
> > +    return if ref $client eq
> > "Perlbal::ClientHTTPBase";
> > +
> >      # if our client's behind more than the max
> > limit, stop buffering
> >      if ($client->too_far_behind_backend) {
> >          $self->watch_read(0);

The method too_far_behind_backend is sometimes called with $client
containing a Perlbal::ClientHTTPBase object which does not have that
method. So, it causes Perlbal to crash. It's a rather braindead
workaround the crash.

-- 
Kevin Rosenberg
kevin at hypershots.com



More information about the perlbal mailing list