Browse Source

[core] fix segfault in http response streaming

Change-Id: I61a0167d8a7fdede96075960f5099b33c0a8ab02
personal/stbuehler/wip
Stefan Bühler 2 years ago
parent
commit
a41b92eb8a
  1. 3
      src/main/stream_http_response.c

3
src/main/stream_http_response.c

@ -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