UDPSocket.recvfrom should block until something is available
------------------------------------------------------------
Key: JRUBY-2890
URL: http://jira.codehaus.org/browse/JRUBY-2890
Project: JRuby
Issue Type: Bug
Components: Extensions
Affects Versions: JRuby 1.1.3
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.1.4
Currently it appears that UDPSocket.recvfrom is using the underlying
DatagramChannel such that it can return null from receive, which would mean
it's in non-blocking mode. recvfrom should block until a packet is available,
unlike recvfrom_nonblock. I have a fix coming. There already appears to be a
spec failing on the build machine related to this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email