-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow origin ip/port in tcp/ssl connect options #98
Conversation
any notes / explanation? |
@seriyps sure, sorry..., the use case is a server with lot of IP addresses that needs to connect to another relay server that unblocks the firewall only for one of the ip addresses, in this case not the default one. |
@seriyps let me know if you need further description. |
But looks like you may just do gen_smtp_client:send(..., [ {sockopts, [ {ip, {1, 2, 3, 4}}, {port, 1234} ]} ]) without this patch... It's not documented, but it's there https://github.com/lazedo/gen_smtp/blob/patch-3/src/gen_smtp_client.erl#L505 And I can't understand how your patch will help with described problem. |
|
to be clear, i use |
1 similar comment
I am ok with having explicit defaults. (And yes, we should check that merge code... dropping elements doesn't sound intuitive.) |
No description provided.