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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 classsoap_endpointstring 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.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.
I will implement this in 2.8.47 by using different names:
soap.override_hostandsoap.override_port. This is more clear to document.