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

@@ -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")