[jboss-jira] [JBoss JIRA] (WFCORE-1293) SocketBindingManager.createMulticast/DatagramSocket(...) variants needed for unbound sockets

Paul Ferraro (JIRA) issues at jboss.org
Tue Jan 12 12:50:00 EST 2016


Paul Ferraro created WFCORE-1293:
------------------------------------

             Summary: SocketBindingManager.createMulticast/DatagramSocket(...) variants needed for unbound sockets
                 Key: WFCORE-1293
                 URL: https://issues.jboss.org/browse/WFCORE-1293
             Project: WildFly Core
          Issue Type: Bug
          Components: Server
    Affects Versions: 2.0.5.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
            Priority: Blocker
             Fix For: 2.0.6.Final


In order to modify the SO_REUSEADDR option of a multicast or datagram socket, the socket must be unbound - otherwise the behavior is undefined.  See:
http://docs.oracle.com/javase/8/docs/api/java/net/DatagramSocket.html#setReuseAddress-boolean-

To support this (as required for JGroups 3.6.7.Final), SocketBindingManager needs methods to create unbound datagram/multicast sockets.  The current methods that accept a SocketAddress throw an ISE when a null address is used.

Setting priority to blocker to encourage inclusion into 2.0.x.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list