mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 17:16:51 +00: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:
@@ -179,7 +179,7 @@ bool cConnectionHTTP::ProcessRequest(void)
|
||||
DELETENULL(m_LiveStreamer);
|
||||
}
|
||||
DeferClose();
|
||||
return Respond("HTTP/1.0 409 Channel not available")
|
||||
return Respond("HTTP/1.0 503 Service unavailable")
|
||||
&& Respond("");
|
||||
}
|
||||
else {
|
||||
@@ -212,7 +212,7 @@ bool cConnectionHTTP::ProcessRequest(void)
|
||||
&& Respond("");
|
||||
}
|
||||
}
|
||||
return Respond("HTTP/1.0 409 Channel not available")
|
||||
return Respond("HTTP/1.0 503 Service unavailable")
|
||||
&& Respond("");
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user