bad7c63 Add TCP level timeout to LDAP services

1 file Authored by simo 4 years ago, Committed by pbrezina 4 years ago,
    Add TCP level timeout to LDAP services
    
    In some cases the TCP connection may hang with data sent because
    of network conditions, this may cause the socket to stall for much
    longer than the timeout intended.
    Set a TCP option to forcibly timeout a socket that sees its data not
    ACKed within the ldap_network_timeout seconds.
    
    Signed-off-by: Simo Sorce <simo@redhat.com>
    
    Reviewed-by: Sumit Bose <sbose@redhat.com>
    (cherry picked from commit 7aa96458f3bec4ef6ff7385107458e6b2b0b06ac)
    
        
file modified
+11 -0