You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by nwbirnie <gi...@git.apache.org> on 2016/02/22 17:30:14 UTC

[GitHub] cxf pull request: CXF-6795 WS-Discovery add support for discovery ...

GitHub user nwbirnie opened a pull request:

    https://github.com/apache/cxf/pull/113

    CXF-6795 WS-Discovery add support for discovery on localhost

    This addresses the feature request to add loopback support for UDP transport and hence WS-Discovery.
    
    https://issues.apache.org/jira/browse/CXF-6795
    
    There was some code which was attempting to guess which network interface to use for multicast purposes. I have left the ability to configure a specific interface to use, but I removed the code which tried to guess a default interface since this is best handled by the operating system's routing table. The algorithm was essentially making an arbitrary choice from the available network interfaces, except the loopbacks. However, it is still possible and in many circumstances desirable to run multicast on the loopback adapter. This requires the MulticastSocket to be configured with the setLoopbackMode(false) and setReuseAddress(true) options in order to receive packets which were sent from the local machine.
    
    In some circumstances, this will not be required, but it shouldn't cause a major issue since the WS-D packets are so small. Perhaps someone can comment on impact outside of WS-D for other user of UDPTransport's multicast capability?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nwbirnie/cxf cxf6795

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/113.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #113
    
----
commit 908086aaa5715175150cebe2848dff13f9f7e8cd
Author: Nick Birnie <ni...@seebyte.com>
Date:   2016-02-16T17:15:03Z

    [CXF-6768] Add ws-addr schema to catalog for offline support

commit ee322e2aac644bdfb6756990b844a87d1c15395d
Author: Nick Birnie <ni...@seebyte.com>
Date:   2016-02-22T16:19:47Z

    [CXF-6795] Remove guess at multicast network interface. Leave this for the operating system routing table to decide.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cxf pull request: CXF-6795 WS-Discovery add support for discovery ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cxf/pull/113


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---