[ 
https://issues.apache.org/jira/browse/TRAFODION-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16416053#comment-16416053
 ] 

ASF GitHub Bot commented on TRAFODION-3003:
-------------------------------------------

Github user hegdean commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1499#discussion_r177527743
  
    --- Diff: core/conn/odbc/src/odbc/nsksrvr/Interface/Listener_srvr.cpp ---
    @@ -81,4 +81,49 @@ void CNSKListenerSrvr::TCP_PROCESSNAME_PORT(FILE* fp)
        fprintf(fp,"<==========TCP/PORT (%s/%d)==========>\n",m_TcpProcessName, 
m_port);
     }
     
    +void CNSKListenerSrvr::TCP_SetKeepalive(int socketnum,
    +                                        char *keepaliveStatus,
    +                                        int idleTime,
    +                                        int intervalTime,
    +                                        int retryCount)
    +{
    +    //all need to be configured
    +    if(NULL == keepaliveStatus){
    +        return;
    +    }
    +    if(0 == strcmp(keepaliveStatus,"default")){
    --- End diff --
    
    Can the status be boolean (TRUE or FALSE)  and default value can be set 
FALSE


> Trafodion keepalive support
> ---------------------------
>
>                 Key: TRAFODION-3003
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3003
>             Project: Apache Trafodion
>          Issue Type: New Feature
>          Components: connectivity-mxosrvr
>    Affects Versions: 2.4
>            Reporter: haolin.song
>            Assignee: haolin.song
>            Priority: Major
>
> We need to make sure the connection exists when the client does not operate 
> for a long time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to