aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_req_free.3http.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-09-12 12:48:13 -0700
committerGarrett D'Amore <garrett@damore.org>2018-09-12 12:51:31 -0700
commit0863d12e2b5173efeb074cbc9fa05f26274f126b (patch)
tree2b4b137aa4d85d681fe0bc5118a22155cb691536 /docs/man/nng_http_req_free.3http.adoc
parent5f73996bf368e7f5d7249679c738a87873cb340d (diff)
downloadnng-0863d12e2b5173efeb074cbc9fa05f26274f126b.tar.gz
nng-0863d12e2b5173efeb074cbc9fa05f26274f126b.tar.bz2
nng-0863d12e2b5173efeb074cbc9fa05f26274f126b.zip
fixes #717 need nng_http_req_reset and nng_http_res_reset
fixes #718 http_transact is still not right fixes #719 calculation of buffer size is incorrect in http
Diffstat (limited to 'docs/man/nng_http_req_free.3http.adoc')
-rw-r--r--docs/man/nng_http_req_free.3http.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/man/nng_http_req_free.3http.adoc b/docs/man/nng_http_req_free.3http.adoc
index df86c5da..2564c422 100644
--- a/docs/man/nng_http_req_free.3http.adoc
+++ b/docs/man/nng_http_req_free.3http.adoc
@@ -28,6 +28,9 @@ void nng_http_req_free(nng_http_req *req);
The `nng_http_req_free()` function deallocates the HTTP request structure
_req_ entirely.
+TIP: Instead of freeing and reallocating request structures, it is possible
+to reuse _req_ with `<<nng_http_req_reset.3http#,nng_http_req_reset()>>`.
+
== RETURN VALUES
None.
@@ -40,4 +43,5 @@ None.
[.text-left]
<<nng_http_req_alloc.3http#,nng_http_req_alloc(3http)>>,
+<<nng_http_req_reset.3http#,nng_http_req_reset(3http)>>,
<<nng.7#,nng(7)>>