mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Report the server-side HTTP status "503 Service unavailable" instead of
the client-side error "409 Conflict" when a channel is unavailable (suggested by Methodus)
This commit is contained in:
parent
229e8fbfff
commit
a047fc7d32
@ -200,3 +200,7 @@ Ville Skytt
|
|||||||
for restricting VTP command RENR to liemikuutio patch < 1.32
|
for restricting VTP command RENR to liemikuutio patch < 1.32
|
||||||
for fixing memory and filedescriptor leaks in libdvbmpeg
|
for fixing memory and filedescriptor leaks in libdvbmpeg
|
||||||
for code cleanup and optimization
|
for code cleanup and optimization
|
||||||
|
|
||||||
|
Methodus
|
||||||
|
for suggesting to use HTTP code 503 for unavailable channels
|
||||||
|
|
||||||
|
3
HISTORY
3
HISTORY
@ -1,6 +1,9 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- Report the server-side HTTP status "503 Service unavailable" instead of
|
||||||
|
the client-side error "409 Conflict" when a channel is unavailable
|
||||||
|
(suggested by Methodus)
|
||||||
- Update of po headers and Finnish translation (thanks to Rolf Ahrenberg)
|
- Update of po headers and Finnish translation (thanks to Rolf Ahrenberg)
|
||||||
- support for non-cycle-free setups (e.g. where two VDRs mutually share
|
- support for non-cycle-free setups (e.g. where two VDRs mutually share
|
||||||
their DVB cards through streamdev-client/-server). Must be enabled in
|
their DVB cards through streamdev-client/-server). Must be enabled in
|
||||||
|
@ -179,7 +179,7 @@ bool cConnectionHTTP::ProcessRequest(void)
|
|||||||
DELETENULL(m_LiveStreamer);
|
DELETENULL(m_LiveStreamer);
|
||||||
}
|
}
|
||||||
DeferClose();
|
DeferClose();
|
||||||
return Respond("HTTP/1.0 409 Channel not available")
|
return Respond("HTTP/1.0 503 Service unavailable")
|
||||||
&& Respond("");
|
&& Respond("");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -212,7 +212,7 @@ bool cConnectionHTTP::ProcessRequest(void)
|
|||||||
&& Respond("");
|
&& Respond("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Respond("HTTP/1.0 409 Channel not available")
|
return Respond("HTTP/1.0 503 Service unavailable")
|
||||||
&& Respond("");
|
&& Respond("");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user