diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-17 13:34:58 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-17 13:34:58 -0800 |
| commit | ff66ec5f43547abc78b22ebcdfad32e2775bc9cb (patch) | |
| tree | f92d0ad15cbb1ee8470226a436ef0403c9d49b2e /docs/ref/migrate/nng1.md | |
| parent | 48d0c0340f16b580443b3aba53c8bf618572fa6a (diff) | |
| download | nng-ff66ec5f43547abc78b22ebcdfad32e2775bc9cb.tar.gz nng-ff66ec5f43547abc78b22ebcdfad32e2775bc9cb.tar.bz2 nng-ff66ec5f43547abc78b22ebcdfad32e2775bc9cb.zip | |
tcp/tls: Remove support for local interface address in dialer URLs
This was an undocumented capability provided for libnanomsg. The
correct way to obtain the same functionality is to use `NNG_OPT_LOCADDR`.
Diffstat (limited to 'docs/ref/migrate/nng1.md')
| -rw-r--r-- | docs/ref/migrate/nng1.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md index 7bafb8f5..d3440fe4 100644 --- a/docs/ref/migrate/nng1.md +++ b/docs/ref/migrate/nng1.md @@ -60,6 +60,14 @@ Support for very old TLS versions 1.0 and 1.1 is removed. Further, the `NNG_TLS_1_0` and `NNG_TLS_1_1` constants are also removed. Applications should use `NNG_TLS_1_2` or even `NNG_TLS_1_3` instead. +## Support for Local Addresses in Dial URLs Removed + +NNG 1.x had an undocumented ability to specify the local address to bind +to when dialing, by using the local address in front of the destination +address separated by a semicolon. This was provided for legacy libnanomsg +compatilibility, and is no longer offered. The correct way to specify a +local address is by setting `NNG_OPT_LOCADDR` on the dialer. + ## Option Functions The previously deprecated `nng_pipe_getopt_xxx` family of functions is removed. |
