Fix regression in IntroduceeManager
This was happening when the remote response arrives before the local response is made and thus the local response needs to be send with the ACK following. The problem was that we ACK was sent before the response which is not allowed and resulted in the session being aborted by the introducee. This was happening, because recursion is hard ;) The fix is only restarting another protocol engine to send the ACK after the first run has been completed. An integration test was added to prevent such regression in the future and to test this code path.
Showing
- briar-android-tests/src/test/java/org/briarproject/introduction/IntroductionIntegrationTest.java 53 additions, 3 deletions...riarproject/introduction/IntroductionIntegrationTest.java
- briar-core/src/org/briarproject/introduction/IntroduceeManager.java 17 additions, 8 deletions.../src/org/briarproject/introduction/IntroduceeManager.java
Loading
Please register or sign in to comment