Remove sending TCLS to server 79/184079/1
authoradhavan.m <adhavan.m@samsung.com>
Fri, 13 Jul 2018 09:57:41 +0000 (15:27 +0530)
committeradhavan.m <adhavan.m@samsung.com>
Fri, 13 Jul 2018 09:57:41 +0000 (15:27 +0530)
Change-Id: I7e286dccf71532009a6136105f2bff9b7800f7dc
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
src/sdb.h
src/transport.c

index e96518d6abc8c567be22d2eb7fec57b5eace1a7e..b2d01ac1f3394edd3605504dbe04bde50e75a5ea 100644 (file)
--- a/src/sdb.h
+++ b/src/sdb.h
@@ -37,7 +37,6 @@
 #define A_CLSE 0x45534c43
 #define A_WRTE 0x45545257
 #define A_STAT 0x54415453
-#define A_TCLS 0x534C4354
 #define A_ENCR 0x40682018 // encryption 메시지
 
 #ifdef SUPPORT_ENCRYPT
index e931f67d9e86e4b907085ffeab35f05273ba2123..a5df573f8558f3044985d3073a10c54c4d111ed6 100644 (file)
@@ -397,13 +397,6 @@ static void *input_thread(void *_t)
         put_apacket(p);
     }
 
-    D("Input thread out of loop before sending TCLS to server\n");
-    p = get_apacket();
-    p->msg.command = A_TCLS;
-    t->write_to_remote(p, t);
-    D("TCLS sent to server\n");
-    put_apacket(p);
-
     // this is necessary to avoid a race condition that occured when a transport closes
     // while a client socket is still active.
     close_all_sockets(t);