From abdae4cb3a453baca65f755c0a439e944bd4274d Mon Sep 17 00:00:00 2001 From: gdamore Date: Mon, 28 Oct 2024 15:46:28 +0000 Subject: deploy: cbd8c5573ef6816d585d00d63568cf98aa6a97b8 --- ref/migrate/nng1.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ref/migrate/nng1.html') diff --git a/ref/migrate/nng1.html b/ref/migrate/nng1.html index c8ebcd4f..a8ec224a 100644 --- a/ref/migrate/nng1.html +++ b/ref/migrate/nng1.html @@ -268,6 +268,11 @@ can be simply removed from your application:

NNG_OPT_WS_OPT_WS_REQUEST_HEADERS and NNG_OPT_WS_RESPONSE_HEADERS have been removed. Just convert any use of them to NNG_OPT_WS_REQUEST_HEADERS or NNG_OPT_WS_RESPONSE_HEADERS as appropriate.

+

TLS Options

+

The support for configuring TLS via NNG_TLS_AUTH_MODE, NNG_OPT_TLS_CA_FILE, NNG_OPT_TLS_SERVER_NAME, +and similar has been removed. Instead configuration must be performed by allocating +a nng_tls_config object, and then setting fields on it using the appropriate functions, +after which it may be configured on a listener or dialer using the NNG_OPT_TLS_CONFIG option.

Option Functions

The previously deprecated nng_pipe_getopt_xxx family of functions is removed. Applications should use nng_pipe_get and related functions instead.

-- cgit v1.2.3-70-g09d2