projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83b42e8
)
Add log in case of failure of recv due to interrupt
52/282752/1
author
Ilho Kim
<ilho159.kim@samsung.com>
Tue, 11 Oct 2022 06:46:30 +0000
(15:46 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Tue, 11 Oct 2022 06:46:30 +0000
(15:46 +0900)
Change-Id: Ib3e54dd7993afb33f75bea504de319ce70e8d9a4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/socket/abstract_socket.cc
patch
|
blob
|
history
diff --git
a/src/common/socket/abstract_socket.cc
b/src/common/socket/abstract_socket.cc
index
6cc9063
..
6d60f36
100644
(file)
--- a/
src/common/socket/abstract_socket.cc
+++ b/
src/common/socket/abstract_socket.cc
@@
-76,6
+76,7
@@
int AbstractSocket::ReceiveData(void* buf, unsigned int size) {
return -errno;
} else if (recv_byte < 0) {
if (errno == EINTR) {
+ LOG(WARNING) << "Interrupt occuered, try to receive data continue";
continue;
} else if (errno == EAGAIN) {
if (is_blocking) {