summaryrefslogtreecommitdiff
path: root/src/download-provider-receiver.c
diff options
context:
space:
mode:
authorBang Kwang min <justine.bang@samsung.com>2012-09-04 12:16:54 +0900
committerBang Kwang min <justine.bang@samsung.com>2012-09-05 14:43:53 +0900
commita34248caaced2451819f92906f2283b4f9655eab (patch)
treeef64f876db876977a89727ae9e9864136341fe47 /src/download-provider-receiver.c
parentd840a7f98949b64578122a657f97a78c7f1be92b (diff)
downloaddownload-provider-a34248caaced2451819f92906f2283b4f9655eab.tar.gz
download-provider-a34248caaced2451819f92906f2283b4f9655eab.tar.bz2
download-provider-a34248caaced2451819f92906f2283b4f9655eab.zip
wait till getting the response from client
[Title] wait till getting the response from client [Issue#] N/A [Problem] client can't get the state because provider close socket too early [Cause] N/A [Solution] wait a control command [SCMRequest] N/A Dependancy) * below url-download should be merged beforehand http://slp-info.sec.samsung.net/gerrit/#change,87793 Change-Id: I63fe495e2c153c6e48ad9ab8b0d945549a4fc650
Diffstat (limited to 'src/download-provider-receiver.c')
-rw-r--r--src/download-provider-receiver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/download-provider-receiver.c b/src/download-provider-receiver.c
index 6346acc..85edc7b 100644
--- a/src/download-provider-receiver.c
+++ b/src/download-provider-receiver.c
@@ -343,6 +343,7 @@ int _handle_new_connection(download_clientinfo_slot *clientinfo_list, download_c
}
ipc_send_stateinfo(request_clientinfo);
}
+ ipc_receive_header(request_clientinfo->clientfd);
}
clear_clientinfo(request_clientinfo);
return 0;