Browse Source

[core] fix segfault in http response streaming

Change-Id: I61a0167d8a7fdede96075960f5099b33c0a8ab02
master
Stefan Bühler 1 year ago
parent
commit
a41b92eb8a
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/main/stream_http_response.c

+ 1
- 2
src/main/stream_http_response.c View File

@@ -200,8 +200,7 @@ static void stream_http_response_data(liStreamHttpResponse* shr) {
} else {
li_stream_reset(&shr->stream);
}
}
if (shr->stream.source->out->is_closed) {
} else if (shr->stream.source->out->is_closed) {
li_stream_disconnect(&shr->stream);
}
} else if (shr->wait_for_close) {


Loading…
Cancel
Save