Feature #4619 ยป SAT-IP-Drop-fe-parameter.diff
src/satip/rtsp.c | ||
---|---|---|
935 | 935 |
has_args = !TAILQ_EMPTY(&hc->hc_req_args); |
936 | 936 | |
937 | 937 |
fe = atoi(http_arg_get_remove(&hc->hc_req_args, "fe") ?: 0); |
938 |
fe = satip_server_conf.satip_drop_fe ? 0 : fe; |
|
938 | 939 |
s = http_arg_get_remove(&hc->hc_req_args, "addpids"); |
939 | 940 |
if (parse_pids(s, &addpids)) goto end; |
940 | 941 |
s = http_arg_get_remove(&hc->hc_req_args, "delpids"); |
src/satip/server.c | ||
---|---|---|
719 | 719 |
.group = 1, |
720 | 720 |
}, |
721 | 721 |
{ |
722 |
.type = PT_BOOL, |
|
723 |
.id = "satip_drop_fe", |
|
724 |
.name = N_("Drop \"fe=\" parameter"), |
|
725 |
.desc = N_("Discard the FrontEnd parameter in RTSP requests, " |
|
726 |
"as some clients incorretly use it."), |
|
727 |
.off = offsetof(struct satip_server_conf, satip_drop_fe), |
|
728 |
.opts = PO_EXPERT, |
|
729 |
.group = 1, |
|
730 |
}, |
|
731 |
{ |
|
722 | 732 |
.type = PT_INT, |
723 | 733 |
.id = "satip_muxcnf", |
724 | 734 |
.name = N_("Mux handling"), |
src/satip/server.h | ||
---|---|---|
51 | 51 |
int satip_notcp_mode; |
52 | 52 |
int satip_anonymize; |
53 | 53 |
int satip_noupnp; |
54 |
int satip_drop_fe; |
|
54 | 55 |
int satip_iptv_sig_level; |
55 | 56 |
int satip_force_sig_level; |
56 | 57 |
int satip_dvbs; |