Fixed always using priority 0 for HTTP HEAD requests

This commit is contained in:
Frank Schmirler 2012-11-02 09:07:19 +01:00
parent b614fa0ec3
commit e7bcc9349c
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
- Fixed always using priority 0 for HTTP HEAD requests
- Start writer right after creating it
- Corrected typos (thanks to Ville Skyttä)
- Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by

View File

@ -192,7 +192,7 @@ bool cConnectionHTTP::ProcessRequest(void)
if (m_ChannelList)
return Respond("%s", true, m_ChannelList->HttpHeader().c_str());
else if (m_Channel != NULL) {
if (ProvidesChannel(m_Channel, 0)) {
if (ProvidesChannel(m_Channel, StreamdevServerSetup.HTTPPriority)) {
if (m_StreamType == stEXT) {
// TODO
return Respond("HTTP/1.0 200 OK")