Merge branch 'development' into LTS_development
This commit is contained in:
commit
f6f11af618
2 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ int Controller::handleAPIConnection(Socket::Connection & conn){
|
|||
tthread::lock_guard<tthread::mutex> guard(configMutex);
|
||||
//Are we local and not forwarded? Instant-authorized.
|
||||
if (!authorized && !H.hasHeader("X-Real-IP") && conn.isLocal()){
|
||||
INFO_MSG("Local API access automatically authorized");
|
||||
MEDIUM_MSG("Local API access automatically authorized");
|
||||
authorized = true;
|
||||
}
|
||||
//if already authorized, do not re-check for authorization
|
||||
|
|
|
@ -764,7 +764,7 @@ namespace Mist {
|
|||
}
|
||||
//Update keynum to point to the corresponding page
|
||||
uint64_t bufferTimer = Util::bootMS();
|
||||
INFO_MSG("Loading key %u from page %lu", keyNum, (--(nProxy.pagesByTrack[track].upper_bound(keyNum)))->first);
|
||||
MEDIUM_MSG("Loading key %u from page %lu", keyNum, (--(nProxy.pagesByTrack[track].upper_bound(keyNum)))->first);
|
||||
keyNum = (--(nProxy.pagesByTrack[track].upper_bound(keyNum)))->first;
|
||||
if (!bufferStart(track, keyNum)) {
|
||||
WARN_MSG("bufferStart failed! Cancelling bufferFrame");
|
||||
|
@ -826,7 +826,7 @@ namespace Mist {
|
|||
}
|
||||
bufferFinalize(track);
|
||||
bufferTimer = Util::bootMS() - bufferTimer;
|
||||
DEBUG_MSG(DLVL_DEVEL, "Done buffering page %d (%llu packets, %llu bytes) for track %d (%s) in %llums", keyNum, packCounter, byteCounter, track, myMeta.tracks[track].codec.c_str(), bufferTimer);
|
||||
DEBUG_MSG(DLVL_DEVEL, "Done buffering page %d (%llu packets, %llu bytes, %llu-%llums) for track %d (%s) in %llums", keyNum, packCounter, byteCounter, myMeta.tracks[track].keys[keyNum - 1].getTime(), stopTime, track, myMeta.tracks[track].codec.c_str(), bufferTimer);
|
||||
pageCounter[track][keyNum] = 15;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue