diff -r f21b4ff81c01 -r b9a447b02046 src/server/daemon/httprequest.c --- a/src/server/daemon/httprequest.c Fri Mar 10 22:45:58 2023 +0100 +++ b/src/server/daemon/httprequest.c Fri Mar 10 23:00:02 2023 +0100 @@ -601,6 +601,7 @@ } int nsapi_finish_request(NSAPISession *sn, NSAPIRequest *rq) { + rq->finished = TRUE; request_free_resources(sn, rq); WSBool read_stream_eof = httpstream_eof(sn->sn.csd);