diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-08-20 07:35:51 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-20 07:35:51 -0700 |
| commit | 768e3f7343fdeab4e8531d8a772e619e6c1c4e2e (patch) | |
| tree | c175a5e004a4d815c9af3781e03000a12372c64d | |
| parent | 416c43c7c2020dec09dac0304ff589e237afaa9c (diff) | |
| download | nng-768e3f7343fdeab4e8531d8a772e619e6c1c4e2e.tar.gz nng-768e3f7343fdeab4e8531d8a772e619e6c1c4e2e.tar.bz2 nng-768e3f7343fdeab4e8531d8a772e619e6c1c4e2e.zip | |
man page updates for tip
| -rw-r--r-- | man/tip/index.html | 2 | ||||
| -rw-r--r-- | man/tip/libnng.3.html | 14 | ||||
| -rw-r--r-- | man/tip/nng_aio_result.3.html | 2 | ||||
| -rw-r--r-- | man/tip/nng_cv_until.3supp.html | 4 | ||||
| -rw-r--r-- | man/tip/nng_http_handler_get_data.3http.html | 3 | ||||
| -rw-r--r-- | man/tip/nng_http_handler_set_data.3http.html | 4 | ||||
| -rw-r--r-- | man/tip/nng_http_req_del_header.3http.html | 4 | ||||
| -rw-r--r-- | man/tip/nng_http_req_get_uri.3http.html | 4 | ||||
| -rw-r--r-- | man/tip/nng_http_server_res_error.3http.html | 2 | ||||
| -rw-r--r-- | man/tip/nng_http_server_stop.3http.html | 32 | ||||
| -rw-r--r-- | man/tip/nng_tcp.7.html | 16 | ||||
| -rw-r--r-- | man/tip/nng_tls.7.html | 16 | ||||
| -rw-r--r-- | man/tip/nng_tls_config_ca_chain.3tls.html | 3 | ||||
| -rw-r--r-- | man/tip/nng_ws.7.html | 15 |
14 files changed, 49 insertions, 72 deletions
diff --git a/man/tip/index.html b/man/tip/index.html index 0d29a10b..f870a6f0 100644 --- a/man/tip/index.html +++ b/man/tip/index.html @@ -1167,7 +1167,7 @@ Protocols sockets.</p> </tr> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_req_del_header.3http.html">nng_http_req_del_header(3http)</a></p></td> -<td class="tableblock halign-left valign-top"><p class="tableblock">set HTTP request header</p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">delete HTTP request header</p></td> </tr> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_req_free.3http.html">nng_http_req_free(3http)</a></p></td> diff --git a/man/tip/libnng.3.html b/man/tip/libnng.3.html index c8be729e..81032996 100644 --- a/man/tip/libnng.3.html +++ b/man/tip/libnng.3.html @@ -1201,7 +1201,7 @@ as a convenience to aid in creating portable applications.</p> <td class="tableblock halign-left valign-top"><p class="tableblock">wake all waiters</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_cv_wake1.3supp.html">nng_cv_wake()</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_cv_wake1.3supp.html">nng_cv_wake1()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">wake one waiter</p></td> </tr> <tr> @@ -1280,7 +1280,7 @@ and connections.</p> <td class="tableblock halign-left valign-top"><p class="tableblock">read HTTP request</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_conn_read_res.3http.html">nng_http_conn_read_req()</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_conn_read_res.3http.html">nng_http_conn_read_res()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">read HTTP response</p></td> </tr> <tr> @@ -1292,11 +1292,11 @@ and connections.</p> <td class="tableblock halign-left valign-top"><p class="tableblock">write all to HTTP connection</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_conn_write_req.3http.html">nng_http_conn_write()</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_conn_write_req.3http.html">nng_http_conn_write_req()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">write HTTP request</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_conn_write_res.3http.html">nng_http_conn_write()</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_conn_write_res.3http.html">nng_http_conn_write_res()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">write HTTP response</p></td> </tr> <tr> @@ -1508,11 +1508,11 @@ and connections.</p> <td class="tableblock halign-left valign-top"><p class="tableblock">get HTTP server TLS configuration</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_server_hold.3http.html">nng_http_server_get_tls()</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_server_hold.3http.html">nng_http_server_hold()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">get and hold HTTP server instance</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_server_release.3http.html">nng_http_server_get_tls()</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_http_server_release.3http.html">nng_http_server_release()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">release HTTP server instance</p></td> </tr> <tr> @@ -1585,7 +1585,7 @@ with TLS support. <td class="tableblock halign-left valign-top"><p class="tableblock">load certificate authority from file</p></td> </tr> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_tls_config_cert_key_file.3tls.html">nng_tls_config_cert_key_file_cert()</a></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="nng_tls_config_cert_key_file.3tls.html">nng_tls_config_cert_key_file()</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">load own certificate and key from file</p></td> </tr> <tr> diff --git a/man/tip/nng_aio_result.3.html b/man/tip/nng_aio_result.3.html index d758a35f..2218a182 100644 --- a/man/tip/nng_aio_result.3.html +++ b/man/tip/nng_aio_result.3.html @@ -527,7 +527,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="content"> <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> -<span class="tok-kt">int</span> <span class="tok-nf">nng_aio_wait</span><span class="tok-p">(</span><span class="tok-n">nng_aio</span> <span class="tok-o">*</span><span class="tok-n">aio</span><span class="tok-p">);</span></code></pre> +<span class="tok-kt">int</span> <span class="tok-nf">nng_aio_result</span><span class="tok-p">(</span><span class="tok-n">nng_aio</span> <span class="tok-o">*</span><span class="tok-n">aio</span><span class="tok-p">);</span></code></pre> </div> </div> </div> diff --git a/man/tip/nng_cv_until.3supp.html b/man/tip/nng_cv_until.3supp.html index 9331a092..28dd3b3a 100644 --- a/man/tip/nng_cv_until.3supp.html +++ b/man/tip/nng_cv_until.3supp.html @@ -529,7 +529,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/util/platform.h></span><span class="tok-cp"></span> -<span class="tok-kt">int</span> <span class="tok-nf">nng_cv_wait</span><span class="tok-p">(</span><span class="tok-n">nng_cv</span> <span class="tok-o">*</span><span class="tok-n">cv</span><span class="tok-p">,</span> <span class="tok-n">nng_time</span> <span class="tok-n">when</span><span class="tok-p">);</span></code></pre> +<span class="tok-kt">int</span> <span class="tok-nf">nng_cv_until</span><span class="tok-p">(</span><span class="tok-n">nng_cv</span> <span class="tok-o">*</span><span class="tok-n">cv</span><span class="tok-p">,</span> <span class="tok-n">nng_time</span> <span class="tok-n">when</span><span class="tok-p">);</span></code></pre> </div> </div> </div> @@ -593,7 +593,7 @@ tests for true. <div class="content"> <pre class="pygments highlight"><code data-lang="c"><span></span> <span class="tok-n">nng_mtx_lock</span><span class="tok-p">(</span><span class="tok-n">m</span><span class="tok-p">);</span> <span class="tok-n">condition_true</span> <span class="tok-o">=</span> <span class="tok-nb">true</span><span class="tok-p">;</span> - <span class="tok-n">cv_wake</span><span class="tok-p">(</span><span class="tok-n">cv</span><span class="tok-p">);</span> + <span class="tok-n">nng_cv_wake</span><span class="tok-p">(</span><span class="tok-n">cv</span><span class="tok-p">);</span> <span class="tok-n">nng_mtx_unlock</span><span class="tok-p">(</span><span class="tok-n">m</span><span class="tok-p">);</span></code></pre> </div> </div> diff --git a/man/tip/nng_http_handler_get_data.3http.html b/man/tip/nng_http_handler_get_data.3http.html index 8ef8efa1..c0f59ea3 100644 --- a/man/tip/nng_http_handler_get_data.3http.html +++ b/man/tip/nng_http_handler_get_data.3http.html @@ -528,8 +528,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/http/http.h></span><span class="tok-cp"></span> -<span class="tok-kt">int</span> <span class="tok-nf">nng_http_handler_get_data</span><span class="tok-p">(</span><span class="tok-n">nng_http_handler</span> <span class="tok-o">*</span><span class="tok-n">handler</span><span class="tok-p">,</span> <span class="tok-kt">void</span> <span class="tok-o">*</span><span class="tok-n">data</span><span class="tok-p">,</span> - <span class="tok-kt">void</span> <span class="tok-p">(</span><span class="tok-o">*</span><span class="tok-n">dtor</span><span class="tok-p">)(</span><span class="tok-kt">void</span> <span class="tok-o">*</span><span class="tok-p">));</span></code></pre> +<span class="tok-kt">void</span> <span class="tok-o">*</span><span class="tok-nf">nng_http_handler_get_data</span><span class="tok-p">(</span><span class="tok-n">nng_http_handler</span> <span class="tok-o">*</span><span class="tok-n">handler</span><span class="tok-p">);</span></code></pre> </div> </div> </div> diff --git a/man/tip/nng_http_handler_set_data.3http.html b/man/tip/nng_http_handler_set_data.3http.html index b587d005..0674ba2b 100644 --- a/man/tip/nng_http_handler_set_data.3http.html +++ b/man/tip/nng_http_handler_set_data.3http.html @@ -516,7 +516,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b </div> <h2>NAME</h2> <div class="sectionbody"> -<p>nng_http_handler_get_data - set extra data for HTTP handler</p> +<p>nng_http_handler_set_data - set extra data for HTTP handler</p> </div> </div> <div id="content"> @@ -528,7 +528,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/http/http.h></span><span class="tok-cp"></span> -<span class="tok-kt">void</span> <span class="tok-o">*</span><span class="tok-nf">nng_http_handler_get_data</span><span class="tok-p">(</span><span class="tok-n">nng_http_handler</span> <span class="tok-o">*</span><span class="tok-n">handler</span><span class="tok-p">,</span> <span class="tok-kt">void</span> <span class="tok-o">*</span><span class="tok-n">data</span><span class="tok-p">,</span> +<span class="tok-kt">int</span> <span class="tok-nf">nng_http_handler_set_data</span><span class="tok-p">(</span><span class="tok-n">nng_http_handler</span> <span class="tok-o">*</span><span class="tok-n">handler</span><span class="tok-p">,</span> <span class="tok-kt">void</span> <span class="tok-o">*</span><span class="tok-n">data</span><span class="tok-p">,</span> <span class="tok-kt">void</span> <span class="tok-p">(</span><span class="tok-o">*</span><span class="tok-n">dtor</span><span class="tok-p">)(</span><span class="tok-kt">void</span> <span class="tok-o">*</span><span class="tok-p">));</span></code></pre> </div> </div> diff --git a/man/tip/nng_http_req_del_header.3http.html b/man/tip/nng_http_req_del_header.3http.html index bfa8609c..ace2c646 100644 --- a/man/tip/nng_http_req_del_header.3http.html +++ b/man/tip/nng_http_req_del_header.3http.html @@ -516,7 +516,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b </div> <h2>NAME</h2> <div class="sectionbody"> -<p>nng_http_req_set_header - set HTTP request header</p> +<p>nng_http_req_del_header - delete HTTP request header</p> </div> </div> <div id="content"> @@ -528,7 +528,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/http/http.h></span><span class="tok-cp"></span> -<span class="tok-kt">int</span> <span class="tok-nf">nng_http_req_set_header</span><span class="tok-p">(</span><span class="tok-n">nng_http_req</span> <span class="tok-o">*</span><span class="tok-n">req</span><span class="tok-p">,</span> <span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">key</span><span class="tok-p">);</span></code></pre> +<span class="tok-kt">int</span> <span class="tok-nf">nng_http_req_del_header</span><span class="tok-p">(</span><span class="tok-n">nng_http_req</span> <span class="tok-o">*</span><span class="tok-n">req</span><span class="tok-p">,</span> <span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">key</span><span class="tok-p">);</span></code></pre> </div> </div> </div> diff --git a/man/tip/nng_http_req_get_uri.3http.html b/man/tip/nng_http_req_get_uri.3http.html index 82e47865..2e42a31c 100644 --- a/man/tip/nng_http_req_get_uri.3http.html +++ b/man/tip/nng_http_req_get_uri.3http.html @@ -528,7 +528,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/http/http.h></span><span class="tok-cp"></span> -<span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-nf">nng_http_req_get_method</span><span class="tok-p">(</span><span class="tok-n">nng_http_req</span> <span class="tok-o">*</span><span class="tok-n">req</span><span class="tok-p">);</span></code></pre> +<span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-nf">nng_http_req_get_uri</span><span class="tok-p">(</span><span class="tok-n">nng_http_req</span> <span class="tok-o">*</span><span class="tok-n">req</span><span class="tok-p">);</span></code></pre> </div> </div> </div> @@ -538,7 +538,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <div class="sectionbody"> <div class="paragraph"> <p>The <code>nng_http_req_get_uri()</code> returns the URI (path) associated with the HTTP -the request <em>req</em>. +request <em>req</em>. The value returned includes the path, as well as any query information or fragment. The value will look like a file system path with those optional components appended, such as <code>/api/get_info.cgi?name=garrett</code>.</p> diff --git a/man/tip/nng_http_server_res_error.3http.html b/man/tip/nng_http_server_res_error.3http.html index 1541ee1f..749bdfa5 100644 --- a/man/tip/nng_http_server_res_error.3http.html +++ b/man/tip/nng_http_server_res_error.3http.html @@ -528,7 +528,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/http/http.h></span><span class="tok-cp"></span> -<span class="tok-kt">int</span> <span class="tok-nf">nng_http_server_set_error_file</span><span class="tok-p">(</span><span class="tok-n">nng_http_server</span> <span class="tok-o">*</span><span class="tok-n">server</span><span class="tok-p">,</span> +<span class="tok-kt">int</span> <span class="tok-nf">nng_http_server_res_error</span><span class="tok-p">(</span><span class="tok-n">nng_http_server</span> <span class="tok-o">*</span><span class="tok-n">server</span><span class="tok-p">,</span> <span class="tok-n">nng_http_res</span> <span class="tok-o">*</span><span class="tok-n">response</span><span class="tok-p">);</span></code></pre> </div> </div> diff --git a/man/tip/nng_http_server_stop.3http.html b/man/tip/nng_http_server_stop.3http.html index ab07b63a..8443d588 100644 --- a/man/tip/nng_http_server_stop.3http.html +++ b/man/tip/nng_http_server_stop.3http.html @@ -537,9 +537,34 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> -<p>The <code>nng_http_server_stop()</code> stops the HTTP server instance <em>server</em>. -This will cause it to close any underlying TCP sockets, and to terminate -any HTTP connections associated with it.</p> +<p>The <code>nng_http_server_stop()</code> undoes the effect of +<code><a href="nng_http_server_start.3http.html">nng_http_server_start()</a></code>.</p> +</div> +<div class="paragraph"> +<p>Each call by +<code><a href="nng_http_server_start.3http.html">nng_http_server_start()</a></code> acts as reference +count, and should be matched by a call to <code>nng_http_server_stop()</code>. +When the reference count drops to zero, then the server is actually stopped, +and existing open connections to it are closed.</p> +</div> +<div class="paragraph"> +<p>This function does not wait for the connections to close.</p> +</div> +<div class="admonitionblock note"> +<table> +<tr> +<td class="icon"> +<i class="fa icon-note" title="Note"></i> +</td> +<td class="content"> +Once the server instance is actually stopped, it cannot be started again, +and any future calls to <code><a href="nng_http_server_hold.3http.html">nng_http_server_hold()</a></code> +will return a new instance of the server. +It is expected that the caller will follow this function call with a call to +<code><a href="nng_http_server_release.3http.html">nng_http_server_release()</a></code>. +</td> +</tr> +</table> </div> </div> </div> @@ -564,6 +589,7 @@ any HTTP connections associated with it.</p> <div class="sectionbody"> <div class="paragraph text-left"> <p><a href="nng_http_server_hold.3http.html">nng_http_server_hold(3http)</a>, +<a href="nng_http_server_release.3http.html">nng_http_server_release(3http)</a>, <a href="nng_http_server_start.3http.html">nng_http_server_start(3http)</a>, <a href="nng.7.html">nng(7)</a></p> </div> diff --git a/man/tip/nng_tcp.7.html b/man/tip/nng_tcp.7.html index 5ac7fe68..2f8c3436 100644 --- a/man/tip/nng_tcp.7.html +++ b/man/tip/nng_tcp.7.html @@ -617,22 +617,6 @@ separating the port.</p> <p>For example, the same port 80 on the IPv6 loopback address (<code>::1</code>) would be specified as <code>tcp://[::1]:80</code>.</p> </div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -When using symbolic names, the name is resolved when the -name is first used. <em>nng</em> won’t become aware of changes in the -name resolution until restart, -usually. -(This is a bug and will likely be fixed in the future.) -</td> -</tr> -</table> -</div> <div class="paragraph"> <p>The special value of 0 (<code>INADDR_ANY</code>) can be used for a listener to indicate that it should listen on all diff --git a/man/tip/nng_tls.7.html b/man/tip/nng_tls.7.html index 9ba38340..25e4e389 100644 --- a/man/tip/nng_tls.7.html +++ b/man/tip/nng_tls.7.html @@ -665,22 +665,6 @@ separating the port.</p> <p>For example, the same port 4433 on the IPv6 loopback address ('::1') would be specified as <code>tls+tcp://[::1]:4433</code>.</p> </div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> -When using symbolic names, the name is resolved when the -name is first used. <em>nng</em> won’t become aware of changes in the -name resolution until restart, -usually. -(This is a bug and will likely be fixed in the future.) -</td> -</tr> -</table> -</div> <div class="admonitionblock tip"> <table> <tr> diff --git a/man/tip/nng_tls_config_ca_chain.3tls.html b/man/tip/nng_tls_config_ca_chain.3tls.html index 37e00d40..68815cd9 100644 --- a/man/tip/nng_tls_config_ca_chain.3tls.html +++ b/man/tip/nng_tls_config_ca_chain.3tls.html @@ -528,8 +528,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b <pre class="pygments highlight"><code data-lang="c"><span></span><span class="tok-cp">#include</span> <span class="tok-cpf"><nng/nng.h></span><span class="tok-cp"></span> <span class="tok-cp">#include</span> <span class="tok-cpf"><nng/supplemental/tls/tls.h></span><span class="tok-cp"></span> -<span class="tok-kt">int</span> <span class="tok-nf">nng_tls_config_ca_cert</span><span class="tok-p">(</span><span class="tok-n">nng_tls_config</span> <span class="tok-o">*</span><span class="tok-n">cfg</span><span class="tok-p">,</span> <span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">chain</span><span class="tok-p">,</span> - <span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">crl</span><span class="tok-p">);</span></code></pre> +<span class="tok-kt">int</span> <span class="tok-nf">nng_tls_config_ca_chain</span><span class="tok-p">(</span><span class="tok-n">nng_tls_config</span> <span class="tok-o">*</span><span class="tok-n">cfg</span><span class="tok-p">,</span> <span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">chain</span><span class="tok-p">,</span> <span class="tok-k">const</span> <span class="tok-kt">char</span> <span class="tok-o">*</span><span class="tok-n">crl</span><span class="tok-p">);</span></code></pre> </div> </div> </div> diff --git a/man/tip/nng_ws.7.html b/man/tip/nng_ws.7.html index e1891869..2ee5551d 100644 --- a/man/tip/nng_ws.7.html +++ b/man/tip/nng_ws.7.html @@ -598,21 +598,6 @@ would be specified as <code>ws://[::1]/app/pubsub</code>.</p> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> -When using symbolic names, the name is resolved when the -name is first used. <em>nng</em> won’t become aware of changes in the -name resolution until restart, -usually. (This is a bug and will likely be fixed in the future.) -</td> -</tr> -</table> -</div> -<div class="admonitionblock note"> -<table> -<tr> -<td class="icon"> -<i class="fa icon-note" title="Note"></i> -</td> -<td class="content"> The value specified as the host, if any, will also be used in the <code>Host:</code> HTTP header during HTTP negotiation. </td> |
