Fix intermittent error in thumb-server 70/171570/1 accepted/tizen/unified/20180308.123332 submit/tizen/20180308.013518
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 6 Mar 2018 01:09:36 +0000 (10:09 +0900)
committerMinje ahn <minje.ahn@samsung.com>
Tue, 6 Mar 2018 01:11:39 +0000 (01:11 +0000)
Change-Id: Ibb318babb7c978d96218aef3ac30311025bf24a0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
server/thumb-server-internal.c

index 4217b2e..e15ee8d 100755 (executable)
@@ -143,8 +143,8 @@ gboolean _thumb_server_read_socket(GIOChannel *src, GIOCondition condition, gpoi
 
                if (send(client_sock, buf+sending_block, block_size, 0) != block_size) {
                        thumb_stderror("sendto failed");
-                       break;
                }
+
                sending_block += block_size;
                buf_size -= block_size;
                if (block_size < THUMB_BLOCK_SIZE)