Menu

#164 Improved endpoint management in stdsoap2.cpp

Patch
closed-accepted
None
5
2017-06-06
2016-03-03
No

Added two new optional fields in soap structure: mandatory_endpoint_ip and mandatory_endpoint_port
It allow to set static IP address if endpoint DNS entry is set of round-robin IP.

1 Attachments

Discussion

  • Robert van Engelen

    Thanks for the feedback, but would it not be simpler to just pass the "IP:port" as the endopint URL? You can set/override the endpoint URL client-side simply by passing it to soap_call_ns__method() and by setting the proxy class soap_endpoint string or construct the proxy class with the given endpoint URL. If you do have a specific request for a new feature, please explain why the feature is needed and why the simpler approach to set the endpoint URL does not work for you.

     
  • Robert van Engelen

    • status: open --> pending
    • assigned_to: Robert van Engelen
     
  • Mihail Slobodyanuk

    If we pass only "IP:port" then we can't perform SSL server name verification by rfc2818

    We have the set of similar server instances to provide high-load service. Each instancs have own IO. Load balancing implemented on DNS round-robin. But each instance manage own set of user sessions. Sessions don't shared between instances, so client should stick to one instance by IP.

     
  • Robert van Engelen

    I will implement this in 2.8.47 by using different names: soap.override_host and soap.override_port. This is more clear to document.

     
  • Robert van Engelen

    • status: pending --> closed-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB