add skipSubHandler to OctreeServer HTTPRequestHandler calls

This commit is contained in:
Stephen Birarda 2014-10-02 11:20:54 -07:00
parent 4749fdb0ba
commit 60e3f3edfa
2 changed files with 2 additions and 2 deletions

View file

@ -302,7 +302,7 @@ void OctreeServer::initHTTPManager(int port) {
_httpManager = new HTTPManager(port, documentRoot, this, this); _httpManager = new HTTPManager(port, documentRoot, this, this);
} }
bool OctreeServer::handleHTTPRequest(HTTPConnection* connection, const QUrl& url) { bool OctreeServer::handleHTTPRequest(HTTPConnection* connection, const QUrl& url, bool skipSubHandler) {
#ifdef FORCE_CRASH #ifdef FORCE_CRASH
if (connection->requestOperation() == QNetworkAccessManager::GetOperation if (connection->requestOperation() == QNetworkAccessManager::GetOperation

View file

@ -115,7 +115,7 @@ public:
static int howManyThreadsDidHandlePacketSend(quint64 since = 0); static int howManyThreadsDidHandlePacketSend(quint64 since = 0);
static int howManyThreadsDidCallWriteDatagram(quint64 since = 0); static int howManyThreadsDidCallWriteDatagram(quint64 since = 0);
bool handleHTTPRequest(HTTPConnection* connection, const QUrl& url); bool handleHTTPRequest(HTTPConnection* connection, const QUrl& url, bool skipSubHandler);
virtual void aboutToFinish(); virtual void aboutToFinish();
void forceNodeShutdown(SharedNodePointer node); void forceNodeShutdown(SharedNodePointer node);