• Travis Cross's avatar
    Handle Linux TCP keepalives better in Sofia · a0e9639a
    Travis Cross 提交于
    Sofia accepts a value for the TCP keepalive timeout interval via
    TPTAG_KEEPALIVE, however it fails to use this value for the Linux
    keepalive socket options TCP_KEEPIDLE and TCP_KEEPINTVL.  In fact, on
    Linux it enables the sending of TCP keepalives even if tpp_keepalive
    is set to zero which would disable Sofia's internal keepalive
    mechanisms.  Sofia then uses a hard coded value of 30 seconds for
    these keepalive intervals which affects battery life on mobile
    devices.
    
    With this commit we harmonize the sending of TCP keepalives on Linux
    with other platforms by using the value from TPTAG_KEEPALIVE and not
    enabling the sending of TCP keepalives at all if the value of the
    parameter is zero.
    
    FS-6104 --resolve
    a0e9639a
名称
最后提交
最后更新
..
sofia-sip 正在载入提交数据...
ChangeLog 正在载入提交数据...
Doxyfile.in 正在载入提交数据...
Makefile.am 正在载入提交数据...
agent.pem 正在载入提交数据...
cafile.pem 正在载入提交数据...
certificates-update 正在载入提交数据...
certificates.html 正在载入提交数据...
make_node_cert.pl 正在载入提交数据...
make_root_cert.pl 正在载入提交数据...
make_test_certs.sh 正在载入提交数据...
test_tport.c 正在载入提交数据...
tls_test_client.c 正在载入提交数据...
tls_test_server.c 正在载入提交数据...
tport.c 正在载入提交数据...
tport.docs 正在载入提交数据...
tport_internal.h 正在载入提交数据...
tport_logging.c 正在载入提交数据...
tport_rand.c 正在载入提交数据...
tport_sigcomp.c 正在载入提交数据...
tport_stub_sigcomp.c 正在载入提交数据...
tport_stub_stun.c 正在载入提交数据...
tport_tag.c 正在载入提交数据...
tport_threadpool.c 正在载入提交数据...
tport_tls.c 正在载入提交数据...
tport_tls.h 正在载入提交数据...
tport_tls_test.sh 正在载入提交数据...
tport_type_connect.c 正在载入提交数据...
tport_type_sctp.c 正在载入提交数据...
tport_type_stun.c 正在载入提交数据...
tport_type_tcp.c 正在载入提交数据...
tport_type_tls.c 正在载入提交数据...
tport_type_udp.c 正在载入提交数据...
tport_type_ws.c 正在载入提交数据...
tport_ws.h 正在载入提交数据...
ws.c 正在载入提交数据...
ws.h 正在载入提交数据...