/[smeserver]/rpms/qpsmtpd/sme7/qpsmtpd-forkserver-keepalive.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme7/qpsmtpd-forkserver-keepalive.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed May 9 19:18:08 2012 UTC (12 years, 6 months ago) by charliebrady
Branch: MAIN
CVS Tags: qpsmtpd-0_83-0_9_el4_sme, qpsmtpd-0_83-0_8_el4_sme, qpsmtpd-0_83-0_7_el4_sme, qpsmtpd-0_83-0_10_el4_sme, HEAD
Changes since 1.1: +12 -0 lines
Set SO_KEEPALIVE option on client socket.

1 --- 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 RSS 2.0 feed