Disable TCP Listen port 99/319099/1 tizen_6.0
authorDohyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Feb 2025 08:23:50 +0000 (17:23 +0900)
committerDohyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Feb 2025 08:23:50 +0000 (17:23 +0900)
Change-Id: If569c52672db94f8347e4ffcc932d231274cd82d
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
resource/csdk/connectivity/src/tcp_adapter/catcpserver.c

index 3bfd8076efb8cba9a19c2b8616d5b2a2a13cc918..399e01ab8852b5a8244e645ae804166980a9375a 100755 (executable)
@@ -1216,11 +1216,13 @@ CAResult_t CATCPStartServer(const ca_thread_pool_t threadPool)
     }
 
 #ifndef DISABLE_TCP_SERVER
+#if 0
     if (caglobals.server)
     {
         CATCPInitializeSocket();
     }
 #endif
+#endif
 
 #ifndef __TIZENRT__
     // create pipe for fast shutdown
@@ -1583,10 +1585,12 @@ CAResult_t CADisconnectTCPSession(size_t index)
     OIC_LOG(DEBUG, TAG, "data is removed from session list");
 
 #ifndef DISABLE_TCP_SERVER
+#if 0
     if (caglobals.server && MAX_CONNECTION_COUNTS == u_arraylist_length(caglobals.tcp.svrlist) + 1)
     {
         CATCPInitializeSocket();
     }
+#endif
 #endif
 
     return CA_STATUS_OK;