• 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.
nua_session.c 115 KB