diff options
author | Frank Schmirler <vdr@schmirler.de> | 2012-11-02 09:07:19 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2012-11-02 09:07:19 +0100 |
commit | e7bcc9349c6cf4549bd845067acd7b70b655cddc (patch) | |
tree | ca6bcf05303c8a28e3443904563eff4df9861c53 | |
parent | b614fa0ec3900c3b46e4cb7b19ee6fe2225e92e6 (diff) | |
download | vdr-plugin-streamdev-e7bcc9349c6cf4549bd845067acd7b70b655cddc.tar.gz vdr-plugin-streamdev-e7bcc9349c6cf4549bd845067acd7b70b655cddc.tar.bz2 |
Fixed always using priority 0 for HTTP HEAD requests
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | server/connectionHTTP.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c index 63eb22e..d420c25 100644 --- a/server/connectionHTTP.c +++ b/server/connectionHTTP.c @@ -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") |