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 --- src/supplemental/http/http_client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/supplemental/http/http_client.c') diff --git a/src/supplemental/http/http_client.c b/src/supplemental/http/http_client.c index f8b1c8ab..a61f7884 100644 --- a/src/supplemental/http/http_client.c +++ b/src/supplemental/http/http_client.c @@ -303,6 +303,7 @@ http_txn_reap(void *arg) // We only close the connection if we created it. if (txn->conn != NULL) { nni_http_conn_fini(txn->conn); + txn->conn = NULL; } } nni_aio_fini(txn->aio); -- cgit v1.2.3-70-g09d2