Added checksum to stats of HTTP based outputs for later merging of connections.
This commit is contained in:
parent
c26661b690
commit
b325ca96ee
13 changed files with 35 additions and 3 deletions
|
@ -34,6 +34,7 @@ namespace Mist {
|
|||
|
||||
Output::Output(Socket::Connection & conn) : myConn(conn) {
|
||||
firstTime = 0;
|
||||
crc = 0;
|
||||
parseData = false;
|
||||
wantRequest = true;
|
||||
sought = false;
|
||||
|
@ -238,7 +239,7 @@ namespace Mist {
|
|||
onFail();
|
||||
return;
|
||||
}
|
||||
statsPage = IPC::sharedClient("statistics", 88, true);
|
||||
statsPage = IPC::sharedClient("statistics", STAT_EX_SIZE, true);
|
||||
playerConn = IPC::sharedClient(streamName + "_users", 30, true);
|
||||
|
||||
updateMeta();
|
||||
|
@ -652,6 +653,7 @@ namespace Mist {
|
|||
tmpEx.host(myConn.getBinHost());
|
||||
setHost = false;
|
||||
}
|
||||
tmpEx.crc(crc);
|
||||
tmpEx.streamName(streamName);
|
||||
tmpEx.connector(capa["name"].asString());
|
||||
tmpEx.up(myConn.dataUp());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue