has_args = !TAILQ_EMPTY(&hc->hc_req_args);
fe = atoi(http_arg_get_remove(&hc->hc_req_args, "fe") ?: 0);
+ fe = satip_server_conf.satip_drop_fe ? 0 : fe;
s = http_arg_get_remove(&hc->hc_req_args, "addpids");
if (parse_pids(s, &addpids)) goto end;
s = http_arg_get_remove(&hc->hc_req_args, "delpids");
.opts = PO_EXPERT,
.group = 1,
},
+ {
+ .type = PT_BOOL,
+ .id = "satip_drop_fe",
+ .name = N_("Drop \"fe=\" parameter"),
+ .desc = N_("Discard the frontend parameter in RTSP requests, "
+ "as some clients incorretly use it."),
+ .off = offsetof(struct satip_server_conf, satip_drop_fe),
+ .opts = PO_EXPERT,
+ .group = 1,
+ },
{
.type = PT_INT,
.id = "satip_muxcnf",
int satip_notcp_mode;
int satip_anonymize;
int satip_noupnp;
+ int satip_drop_fe;
int satip_restrict_pids_all;
int satip_iptv_sig_level;
int satip_force_sig_level;