kdc: enable keepalive mode on incoming sockets
Change-Id: I72a43486fe772ad3c8e71d8c5cc512bdb89de2d2
This commit is contained in:
		
				
					committed by
					
						
						Jeffrey Altman
					
				
			
			
				
	
			
			
			
						parent
						
							28b9283709
						
					
				
				
					commit
					3214c835da
				
			@@ -291,6 +291,7 @@ init_socket(krb5_context context,
 | 
				
			|||||||
	d->s = rk_INVALID_SOCKET;
 | 
						d->s = rk_INVALID_SOCKET;
 | 
				
			||||||
	return;
 | 
						return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    socket_set_keepalive(d->s, 1);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user