Handling the error case. for preventing the lock-up
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 26 Jul 2012 03:03:02 +0000 (12:03 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 26 Jul 2012 06:46:19 +0000 (15:46 +0900)
commit93b35bbdcce848e88ae885036b0a218a02e53f74
tree097cf96be98e059bc8d1c728abe656fdbe078891
parent7082cea086393a45e948de1bd338b6c5c0ace75f
Handling the error case. for preventing the lock-up

Try to send/recv packet and check the time.
If it exceed the maximum waiting time,
Just stop and give up send/recv packet
And return false to handling it correctly by user.

Handling the exceptional case more hardly.

Decrease the timeout value to 2 secs from 10 secs

Change-Id: I4d78f471d1555c66b687e4979a7110b62325e7e6
debian/changelog
packaging/libcom-core.spec
src/com-core.c
src/com-core_packet.c
src/secure_socket.c