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
|
|
@ -286,6 +286,8 @@ namespace Mist {
|
|||
|
||||
void OutHLS::onRequest(){
|
||||
while (HTTP_R.Read(myConn)){
|
||||
std::string ua = HTTP_R.GetHeader("User-Agent");
|
||||
crc = checksum::crc32(0, ua.data(), ua.size());
|
||||
DEBUG_MSG(DLVL_MEDIUM, "Received request: %s", HTTP_R.getUrl().c_str());
|
||||
if (HTTP_R.url == "/crossdomain.xml"){
|
||||
HTTP_S.Clean();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue