Menu

#103 Binding all IPv6 and IPv4 sockets available

Patch
closed-fixed
None
4
2018-01-20
2012-08-21
No

We are using this library in multiple services and we need them to be IPv6 ready (EMI grid services), binding all IPv4 and IPv6 PF_UNSPEC, PASSIVE sockets (0.0.0.0, ::). It was able to bind just IPv6 socket :: with IPV6_V6ONLY disabled on IPv4 mapped addresses supporting system, but this is not very usual so we decided to bind both sockets.

We are currently using gsoap-2.7.16-3 so I provide patch for both 2.7.16-3 and for 2.8.10 from SVN repo rev. 33.

I hope you find my patch useful. Maybe you will have another opinion about this, but we would appreciate including this functionality to mainstream.

Discussion

  • Dusan Klinec (ph4r05)

    patch for 2.7.16-3 version

     
  • Dusan Klinec (ph4r05)

    To enable this it is needed to compile gsoap with -DWITH_IPV6 -DBIND_ALL_SOCKETS.

    Thank you for considering this patch.

     
  • Dusan Klinec (ph4r05)

    • priority: 5 --> 4
     
  • Dusan Klinec (ph4r05)

    patch for SVN version based on rev. 33

     
  • Robert van Engelen

    • assigned_to: Robert van Engelen
    • Group: --> Unstable (example)
     
  • Jan Engelhardt

    Jan Engelhardt - 2018-01-18

    the feature should work now in 2.8.59

     
  • Robert van Engelen

    • status: open --> closed-fixed
    • Group: Unstable (w- patch) --> Patch
     

Log in to post a comment.