X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=bin%2Fldap-koha.pl;h=e9ed1f997f5eedaed6ab9bf480741975a87a4440;hp=e97e1efc2813012fcdb730755e08b2ba4ee86b1e;hb=495fb580ea5f2cb6e48eb2f1b10392b3f00125e9;hpb=e10c2a761e6c656aac558d6124e2c7fd03985f36 diff --git a/bin/ldap-koha.pl b/bin/ldap-koha.pl index e97e1ef..e9ed1f9 100755 --- a/bin/ldap-koha.pl +++ b/bin/ldap-koha.pl @@ -26,6 +26,7 @@ while (my @ready = $sel->can_read) { if ($fh == $sock) { # let's create a new socket my $psock = $sock->accept; + $psock->sockopt(SO_KEEPALIVE,1); $sel->add($psock); $Handlers{*$psock} = LDAP::Koha->new($psock); } else {