stas 2009-02-23 00:41:08 UTC
FreeBSD ports repository
Added files:
lang/ruby18/files patch-ext_socket_socket.c
Log:
- Ruby socket connect code seems to work unstably in case if connection
to remote host was refused. FreeBSD connect(2) call returns EINVAL in
that case and clears the error code, so there's no way to determine
what happened. Reimplement ruby_connect via select call instead of
polling the status by connect(2). This may also reduce overhead (though,
not verified).
Reported by: Saku Ytti <[email protected]>
Revision Changes Path
1.1 +105 -0 ports/lang/ruby18/files/patch-ext_socket_socket.c (new)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"