http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3710


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #2274 is|0                           |1
           obsolete|                            |
         AssignedTo|[email protected] |[EMAIL PROTECTED]
             Status|NEW                         |ASSIGNED




------- Additional Comments From [EMAIL PROTECTED]  2006-03-06 23:20 -------
Created an attachment (id=3397)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3397&action=view)
patch ported to trunk, also applies to 3.1 branch

Besides being against the current code, this patch adds the timeout to unix
socket connect as well as tcp connect, correctly conditionalizes for WIN32
which does not support any of the timeout code, and also fixes an error in code
that only compiles when setting a compile-time debug flag used to debug the
connection code. That last fix doesn't have anything to do with this bug except
that it showed up when I was debugging.

Also, not that the test case in the original bug report is misleading:

  time spamc -t 1 -d 1.1.1.1

will wait forever if you don't notice what it actually does. For the test case,
you should give spamc some input and also use the -l option (that's a letter
'l') so you can see some interesting output:

  echo "foo" | time spamc -l -t 1 -d 1.1.1.1


Committed to trunk revision 383701.

ready for votes for 3.1 branch




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to