alminah / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Cancel file transfer, handle Error after handle Terminated #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. A does a FT to B
2. B accepts
3. B cancels before the end of transfer

What is the expected output? 
A receives information that B cancels the FT (handle Terminated)

What do you see instead?
A receives handle error after this handle terminated

Additional information.
When B cancels the FT, it sends SIP BYE and close the MSRP session.
The close of MSRP is faster than the SIP BYE.
Then A can't send the next MSRP chunk and handle a MSRP error, then send SIP 
BYE and handle error to the application. In parallel, A receives SIP BYE and 
handle terminated...

Original issue reported on code.google.com by benoit.j...@gmail.com on 16 Jan 2014 at 4:08

GoogleCodeExporter commented 9 years ago
We can't prevent the race condition with BYE, but we can prevent to have handle
error after handle terminated.

Original comment by benoit.j...@gmail.com on 17 Jan 2014 at 2:18