• Jack Moffitt's avatar
    Ouch. Serious bug found by Ricardo Galli. · 235a2639
    Jack Moffitt authored
    When the cond var is signalled it will wake up a thread.  If all the
    connection handler threads are handling connections, the signal will be
    ignored and clients will 'pend' until another client causes the to signal
    again.
    
    We have to check to see if there are more pending connections before waiting
    on the signal again.
    
    svn path=/trunk/icecast/; revision=3178
    235a2639
connection.c 13.5 KB