[IOT-1570] fixed a crash issue related to block-wise transfer
authorJaewook Jung <jw0213.jung@samsung.com>
Thu, 17 Nov 2016 04:14:43 +0000 (13:14 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Thu, 17 Nov 2016 06:13:34 +0000 (06:13 +0000)
commit4667f8b18e45b67022a0dc0966ad85c572d52f53
tree80520951bbf0e7721e866eb4f8ac271b0d443c2a
parent95ea3d831d87d1b80744f64ec686915fd3a8e412
[IOT-1570] fixed a crash issue related to block-wise transfer

When a resource server receives 4.08 error response from a resource
client, the server will try to send the response from the first
block again.
But now, the server assumes the message type that has to be sent
for receiving 4.08 error is only request message.
So I modified to handle it up to the message type.

Change-Id: I555b5dd5c44b73647c2543de551aba6f5113f909
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14433
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/cablockwisetransfer.c