Support the finalize the connection even if it is in the recv callback
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 18 Jul 2013 07:07:01 +0000 (16:07 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 18 Jul 2013 08:54:37 +0000 (17:54 +0900)
commit77aa2c762b10865814a4d40de2034885286a6cb9
treec88ea22b4699ac0d814e179cd972cfce162290a8
parent7664814991b5c420e1923283e6e2995b80d3fc45
Support the finalize the connection even if it is in the recv callback

While in the recv callback, if the client tries to disconnect from the server,
the recv callback called again. because of disconnected event callback.

This patch will prevent call the same recv callback if it is in process.

Change-Id: Ib9a14849e0ff60ee72770d540bce31ac2c0cc396
packaging/libcom-core.spec
src/com-core_packet.c