Date: Mon, 23 Feb 2009 00:41:08 +0000 (UTC) From: Stanislav Sedov <stas@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/lang/ruby18/files patch-ext_socket_socket.c Message-ID: <200902230041.n1N0f8fE023269@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <saku@ytti.fi> Revision Changes Path 1.1 +105 -0 ports/lang/ruby18/files/patch-ext_socket_socket.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902230041.n1N0f8fE023269>