[SBI] Do not treat removed streams as errors when sending responses

This is in line with the implementation with microhttpd server
(mhd-server.c).
This commit is contained in:
Bostjan Meglic 2023-02-09 09:38:18 +00:00 committed by Sukchan Lee
parent 74fdb14f7a
commit cef5b38087
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ static bool server_send_rspmem_persistent(
stream = ogs_pool_cycle(&stream_pool, stream);
if (!stream) {
ogs_error("stream has already been removed");
return false;
return true;
}
sbi_sess = stream->session;