http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5790
------- Additional Comments From [EMAIL PROTECTED] 2008-02-10 17:04 -------
$ svn -m 'DnsResolver: bump up resolver receive buffer size to 32kB
if smaller, bug 5790' ci
Sending lib/Mail/SpamAssassin/DnsResolver.pm
Committed revision 620364.
Committed to 3.2 to facilitate further testing. Keeping it open
for a little while longer, hoping for someone to try it on Windows.
I tested it on FreeBSD 6.2 and 7.0 through several settings of a
system-wide default buffer sizes.
If someone wants to try a simple command-line code simulation below
on new platforms, even without a SpamAssassin context, it would suffice:
perl -le 'use Socket; use IO::Socket::INET;
$sock=IO::Socket::INET->new(PeerAddr=>"127.0.0.1", PeerPort=>53,
Proto=>"udp") or die "Err: $!"; $s=$sock->sockopt(Socket::SO_RCVBUF);
print $s; $sock->sockopt(Socket::SO_RCVBUF,32*1024) or die "Err2: $!";
$s=$sock->sockopt(Socket::SO_RCVBUF); print $s'
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.