mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Put web server for API in place in the main window (1)
This commit is contained in:
@@ -66,7 +66,12 @@ HttpConnectionHandler* HttpConnectionHandlerPool::getConnectionHandler()
|
||||
int maxConnectionHandlers = useQtSettings ? settings->value("maxThreads",100).toInt() : listenerSettings.maxThreads;
|
||||
if (pool.count()<maxConnectionHandlers)
|
||||
{
|
||||
freeHandler=new HttpConnectionHandler(settings,requestHandler,sslConfiguration);
|
||||
if (useQtSettings) {
|
||||
freeHandler = new HttpConnectionHandler(settings, requestHandler, sslConfiguration);
|
||||
} else {
|
||||
freeHandler = new HttpConnectionHandler(listenerSettings, requestHandler, sslConfiguration);
|
||||
}
|
||||
|
||||
freeHandler->setBusy();
|
||||
pool.append(freeHandler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user