From 0863d12e2b5173efeb074cbc9fa05f26274f126b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 12 Sep 2018 12:48:13 -0700 Subject: 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 --- docs/man/nng_http_res_free.3http.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/man/nng_http_res_free.3http.adoc') diff --git a/docs/man/nng_http_res_free.3http.adoc b/docs/man/nng_http_res_free.3http.adoc index 0c7f2445..e97f0be6 100644 --- a/docs/man/nng_http_res_free.3http.adoc +++ b/docs/man/nng_http_res_free.3http.adoc @@ -28,6 +28,9 @@ void nng_http_res_free(nng_http_res *req); The `nng_http_res_free()` function deallocates the HTTP response structure _res_ entirely. +TIP: Instead of freeing and reallocating response structures, it is possible +to reuse _res_ with `<>`. + == RETURN VALUES None. @@ -39,5 +42,6 @@ None. == SEE ALSO [.text-left] -<>, +<>, +<>, <> -- cgit v1.2.3-70-g09d2