From e4316764571647369ec1c6abc3b2e3b6cdbc1ec7 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Fri, 10 Jul 2020 15:13:16 +0200 Subject: [PATCH] stream reuse, fix bad id in reply errors. --- services/outside_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/outside_network.c b/services/outside_network.c index 0060d7359..af69860b5 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -935,7 +935,7 @@ outnet_tcp_cb(struct comm_point* c, void* arg, int error, w = reuse_tcp_by_id_find(&pend->reuse, id); } } - if(!w) { + if(error == NETEVENT_NOERROR && !w) { /* no struct waiting found in tree, no reply to call */ log_addr(VERB_QUERY, "outnettcp: bad ID in reply, from:", &pend->reuse.addr, pend->reuse.addrlen); -- 2.47.3