From e7bcc9349c6cf4549bd845067acd7b70b655cddc Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Fri, 2 Nov 2012 09:07:19 +0100 Subject: [PATCH] Fixed always using priority 0 for HTTP HEAD requests --- HISTORY | 1 + server/connectionHTTP.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 99f2b04..56ee97a 100644 --- a/HISTORY +++ b/HISTORY @@ -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")