I see this made it into CVS. Thanks to all (Gordon, MrSam)
http://cvs.sourceforge.net/viewcvs.py/courier/libs/soxwrap/sconnect.c?r1=1.4&r2=1.5
On Wed, 1 Mar 2006, Brian A. Seklecki wrote:
Yes, this patch works nicely.
I'd like to say that this was a bug in something new with FreeBSD 6.x,
but Thomas Neumann <[EMAIL PROTECTED]> reported the problem with
FreeBSD 4.9.
My new hypothesis (the distinguishing factor between my previous test in
the lab and my production environment), which might effect kernel-level
socket API call behavior, was that my production box had multiple VIPs
on the same NIC in addition to a base address, upon which Courier is
bound to one.
But, I just tested that config in the lab and everything works with
Ident and localhost, local VIP TCP connections.
Thus far, through process of elimination, we can say:
-) It's not VIPs
-) It's not IPv6
-) It's not the base OS development tree
So it must be some system-specific OS setting and/or system-specific
Courier setting, or some random permutation of settings.
If you think then check wont adversely affect behavior on other
platforms, then there's no need to make it *BSD specific?
~BAS
________________________________________________________________________
--- sconnect.c.orig 2006-02-28 23:10:15.000000000 -0800
+++ sconnect.c 2006-02-28 23:14:31.000000000 -0800
@@ -62,6 +62,8 @@
if (fcntl(sockfd, F_SETFL, 0) < 0) return (-1);
return (0);
}
+ else
+ if (errno != EINPROGRESS) return (-1);
/* Wait for the connection to go through, until the timeout expires */
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
l8*
-lava
x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users