TCPServer.new (and possibly other servers) should coerce port to string and do
equivalent of getservbyname to get the port number
---------------------------------------------------------------------------------------------------------------------------------
Key: JRUBY-2231
URL: http://jira.codehaus.org/browse/JRUBY-2231
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Reporter: Charles Oliver Nutter
TCPServer.new should coerce the port argument using to_str. The result of this
should be turned into a numeric port using a mechanism similar to
getservbyname. I am committing a fix that coerces to string, but it immediately
then turns the string into an integer and raises an error if the result is <=
0, which would include string-based service names like 'https'.
--
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