1 |
vip-ire |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.95/qpsmtpd-forkserver mezzanine_patched_qpsmtpd-0.95/qpsmtpd-forkserver |
2 |
|
|
--- qpsmtpd-0.95/qpsmtpd-forkserver 2015-02-11 23:00:25.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_qpsmtpd-0.95/qpsmtpd-forkserver 2015-12-16 22:09:28.782321968 +0100 |
4 |
|
|
@@ -246,6 +246,7 @@ |
5 |
|
|
my ($client, $hisaddr) = $server->accept; |
6 |
|
|
|
7 |
|
|
next if !$hisaddr; |
8 |
|
|
+ $client->sockopt(SO_KEEPALIVE,1); |
9 |
|
|
IO::Handle::blocking($client, 1); |
10 |
|
|
|
11 |
|
|
# get local/remote hostname, port and ip address |