diff options
| author | 2022-11-02 17:28:30 +0000 | |
|---|---|---|
| committer | 2022-11-02 17:28:30 +0000 | |
| commit | 849bbda37d4a37530d284e7ef8006eccfacd99e2 (patch) | |
| tree | 93196833ce737e3571f09f247af3e0821133027d /cmds/bootanimation/BootAnimation.cpp | |
| parent | 88749cfd8f102e5e8e34ea4291d8dbbeb28884ff (diff) | |
Fix VPN retry timer mechanism
This commit does:
- Skip the new retrying request when there is a pending retrying
task. Otherwise, the mRetryCount will be increased unexpectedly
before the current retrying task finishes its job.
- onChildOpened will call onSessionLost when MTU is invalid, and
onChildOpened will be called after onIkeOpened, so if
mRetryCount is reset in onIkeOpened, the mRetryCount will always
start from 0.
Bug: 256776571
Test: atest FrameworksNetTests:VpnTest
Manual test and check the log.
Change-Id: I396a3c279dc909f78c400cff1c31d77fe98cd7a6
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions