aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_conn_write_res.3http.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-29 17:03:51 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-29 18:14:55 -0700
commit0ddaee41ec753805fa12eeabd679870802528dac (patch)
tree3418859f4f22e9857b5ae979b3bc4eb53fd70035 /docs/man/nng_http_conn_write_res.3http.adoc
parent33dc5d611f578ace9833a80dc006a34b09da18af (diff)
downloadnng-0ddaee41ec753805fa12eeabd679870802528dac.tar.gz
nng-0ddaee41ec753805fa12eeabd679870802528dac.tar.bz2
nng-0ddaee41ec753805fa12eeabd679870802528dac.zip
fixes #495 SEE ALSO should use [align=left]
fixes #494 ERRORS section should use [horizontal] These changes address some basic formatting consistency things, and ultimately (when combined with other tooling changes that are not part of this repo) lead to vastly improved layout in the printed documentation. While here we removed trailing whitespace, and did certain other minor markup tweaks.
Diffstat (limited to 'docs/man/nng_http_conn_write_res.3http.adoc')
-rw-r--r--docs/man/nng_http_conn_write_res.3http.adoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/man/nng_http_conn_write_res.3http.adoc b/docs/man/nng_http_conn_write_res.3http.adoc
index 219b771e..2bab9a31 100644
--- a/docs/man/nng_http_conn_write_res.3http.adoc
+++ b/docs/man/nng_http_conn_write_res.3http.adoc
@@ -44,7 +44,7 @@ That result will either be zero or an error code.
By default, for `HTTP/1.1` connections, the connection is kept open, and
will be reused to receive new requests.
-If however the _res_ contains a header of `Connection:` with a value
+If however the _res_ contains a header of `Connection:` with a value
of `Close` (case-insensitive) or the response corresponds to `HTTP/1.0`,
then the connection is immediately after sending the response.
@@ -54,6 +54,7 @@ None.
== ERRORS
+[horizontal]
`NNG_ECANCELED`:: The operation was canceled.
`NNG_ECLOSED`:: The connection was closed.
`NNG_ECONNRESET`:: The peer closed the connection.
@@ -63,6 +64,7 @@ None.
== SEE ALSO
+[.text-left]
<<nng_aio_alloc.3#,nng_aio_alloc(3)>>,
<<nng_aio_result.3#,nng_aio_result(3)>>,
<<nng_http_client_connect.3http#,nng_http_client_connect(3http)>>,