From 7d0ba783f7d58ef579396a8eded73a86393c043d Mon Sep 17 00:00:00 2001 From: Janjaap Bos Date: Tue, 16 Apr 2019 20:22:51 +0200 Subject: set txn->client in nni_http_transact Otherwise connections are not closed in reaper. --- src/supplemental/http/http_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 c35dcaa8..50300846 100644 --- a/src/supplemental/http/http_client.c +++ b/src/supplemental/http/http_client.c @@ -465,7 +465,7 @@ nni_http_transact(nni_http_client *client, nni_http_req *req, } nni_aio_list_init(&txn->aios); - txn->client = NULL; + txn->client = client; txn->conn = NULL; txn->req = req; txn->res = res; -- cgit v1.2.3-70-g09d2