Skip to content

Commit

Permalink
set txn->client in nni_http_transact
Browse files Browse the repository at this point in the history
Otherwise connections are not closed in reaper.
  • Loading branch information
janjaapbos authored and gdamore committed Apr 24, 2019
1 parent 1d61214 commit 7d0ba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/supplemental/http/http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d0ba78

Please sign in to comment.