Parent Directory | Revision Log | Revision Graph
Set SO_KEEPALIVE option on client socket.
1 | charliebrady | 1.2 | --- qpsmtpd-forkserver.orig 2009-11-06 05:20:22.000000000 +1100 |
2 | +++ qpsmtpd-forkserver 2012-04-23 09:56:55.000000000 +1000 | ||
3 | @@ -244,8 +244,9 @@ | ||
4 | if (!$hisaddr) { | ||
5 | # possible something condition... | ||
6 | next; | ||
7 | } | ||
8 | + $client->sockopt(SO_KEEPALIVE,1); | ||
9 | IO::Handle::blocking($client, 1); | ||
10 | # get local/remote hostname, port and ip address | ||
11 | my ($port, $iaddr, $lport, $laddr, $nto_iaddr, $nto_laddr) = Qpsmtpd::TcpServer::lrpip($server, $client, $hisaddr); | ||
12 |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |