• Pekka Pessi's avatar
    nua_session.c: use nua_client_request_t struct with BYE only if it is vacant · 2ce3032a
    Pekka Pessi authored
    Thanks for Anthony Minnessale for reporting this bug.
    
    Note that correct fix would involve delaying BYE until final response to the
    NOTIFY has been received. Now, we have a race condition between NOTIFY and
    BYE: if NOTIFY is lost and UAS receives BYE before NOTIFY, it will ignore
    the retransmitted NOTIFY and respond with status code 500 to it.
    
    darcs-hash:20061212014236-65a35-fb5ff30bdb713894c1b20b95d25f44ab7e75b243.gz
    2ce3032a
nua_session.c 115 KB