From 8c78bfd5d37c0915318d7ebb9f2d7919028c81ab Mon Sep 17 00:00:00 2001 From: "adhavan.m" Date: Fri, 13 Jul 2018 15:27:41 +0530 Subject: [PATCH] Remove sending TCLS to server Change-Id: I7e286dccf71532009a6136105f2bff9b7800f7dc Signed-off-by: adhavan.m --- src/sdb.h | 1 - src/transport.c | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/sdb.h b/src/sdb.h index e96518d..b2d01ac 100644 --- 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 diff --git a/src/transport.c b/src/transport.c index e931f67..a5df573 100644 --- a/src/transport.c +++ b/src/transport.c @@ -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); -- 2.34.1