mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
*neutrino: add timeout parameter for message via web api
based up patch by FlatTV see also: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/10855-nachrichten-%C3%BCber-das-yweb-mit-variablem-timeout-senden/ git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1782 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -546,6 +546,12 @@ void CControlAPI::MessageCGI(CyhookHandler *hh)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(hh->ParamList["timeout"].empty()))
|
||||
{
|
||||
message += "&timeout=";
|
||||
message += hh->ParamList["timeout"];
|
||||
}
|
||||
|
||||
if (event != 0)
|
||||
{
|
||||
message=decodeString(message);
|
||||
|
Reference in New Issue
Block a user