[plugin_core] Fix closing data stream for invalid ranges in static handling
This commit is contained in:
parent
5d48ae7102
commit
d705276183
|
@ -731,7 +731,7 @@ static liHandlerResult core_handle_static(liVRequest *vr, gpointer param, gpoint
|
|||
break;
|
||||
case LI_PARSE_HTTP_RANGE_INVALID:
|
||||
done = TRUE;
|
||||
li_chunkqueue_reset(vr->out);
|
||||
li_chunkqueue_reset(vr->out); vr->out->is_closed = TRUE;
|
||||
break;
|
||||
case LI_PARSE_HTTP_RANGE_NOT_SATISFIABLE:
|
||||
ranged_response = TRUE;
|
||||
|
|
Loading…
Reference in New Issue