mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +02:00
add skipSubHandler to OctreeServer HTTPRequestHandler calls
This commit is contained in:
parent
4749fdb0ba
commit
60e3f3edfa
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue