Create new proxy handle when connection is rejected 28/265428/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 19 Oct 2021 04:01:50 +0000 (13:01 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 20 Oct 2021 04:40:34 +0000 (13:40 +0900)
commit9ecd8235cc3530827871c44a0dddcc3455e2aa24
tree6ed71a7a449152ccda833f3f45fd3a7176ea4e8e
parentff69d8a40f307f7ff878c1f2e72a6e27995e172f
Create new proxy handle when connection is rejected

TIDL proxy does not need to try connect repeatedly. And also, if connection is failed by timeout,
app needs to create new proxy handle.

Thus, this patch makes flag variable to check whether connect function is called. Using this flag,
app calls connect function once. And also this patch creates new handle when on_rejected callback
is called to retry connection.

Change-Id: I8a7c26f825e95276e257e77451ffacc7a6722af5
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts_tidl.c