[plugin_core] Fix closing data stream for invalid ranges in static handling

personal/stbuehler/wip
Stefan Bühler 11 years ago
parent 5d48ae7102
commit d705276183
  1. 2
      src/main/plugin_core.c

@ -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…
Cancel
Save