Changeset 823

Show
Ignore:
Timestamp:
07/05/09 09:30:04 (5 months ago)
Author:
ask
Message:

Fix obscure race condition (spontaneously closed keepalives after POST requests)

Author: Andreas J Koenig

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/CHANGES

    r822 r823  
     1    -- Fix obscure race condition (spontaneously closed keepalives 
     2       after POST requests, Andreas J Koenig) 
     3 
    14    -- make Perlbal::Test be more robust and only use free ports. 
    25       (Bart van der Schans <herengracht@gmail.com>) 
  • trunk/lib/Perlbal/ClientProxy.pm

    r816 r823  
    556556    print "ClientProxy::event_write\n" if Perlbal::DEBUG >= 3; 
    557557 
    558     $self->SUPER::event_write; 
    559  
    560558    # obviously if we're writing the backend has processed our request 
    561559    # and we are responding/have responded to the user, so mark it so 
    562560    $self->{responded} = 1; 
     561 
     562    # will eventually, finally reset the whole object on completion 
     563    $self->SUPER::event_write; 
    563564 
    564565    # trigger our backend to keep reading, if it's still connected