Add client reset step in OnTimedOut() 31/284631/3
authorChanggyu Choi <changyu.choi@samsung.com>
Tue, 22 Nov 2022 05:29:40 +0000 (14:29 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Tue, 22 Nov 2022 08:28:45 +0000 (08:28 +0000)
commitbf7ec8b46ea1e854256c01faf3f1e9f7ec1e8749
treef721ae4529b6f7cd6937278485f475e1dc74cac5
parentfb67889685490cc8b304bb21205b71f4db817d01
Add client reset step in OnTimedOut()

If the timeout occurs between OnAppeared and Connected events,
even if try to reconnect, the port may not be valid.
After applying this patch, the client is reset to protect the possibility of accessing invalid ports.

Change-Id: Ic268bac9f899f96c2ceda196f5def1abdd624159
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/proxy-internal.cc