Skip to content

[IDEA] Add 'Override local binding' to HTTP Sender #332

Description

@jbeckers

HTTP Sender currently does not have the option "Override Local Binding", unlike TCP Sender and others.

This is an issue when a server has multiple IP's, but connections need to originate from a single one (e.g. we have a clustered setup, only the cluster VIP gets trough the firewall).

OIE could easily support this, The Apache HTTP Client library supports it: org.apache.http.client.config.RequestConfig.Builder#setLocalAddress

I don't see an easy way to override the local port, only the local IP.
But I figure for a Sender, the local port is not that important?

PR will follow shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions