Menu

#1017 soap_bind fails to bind on IPv6

v1.0 (example)
closed-fixed
None
5
2015-10-25
2015-08-28
No

I noticed that in my system (debian wheezy) soap_bind fails to correclty bind on dualstack IPv4/IPv6.

By digging in the code I think the wrong hints are passed to getaddrinfo. Passing PF_UNSPEC won't guarantee that an IPv6 socket will be use. By specifying PF_INET6, an IPv6 socket will be used. Since this code i conditioned with #ifdef WITH_IPV6 , I think that's the correct way to implement it

gSOAP version: 2.8.23

1 Attachments

Discussion

  • Robert van Engelen

    • status: open --> open-fixed
    • assigned_to: Robert van Engelen
     
  • Robert van Engelen

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB